@redhat-cloud-services/frontend-components 3.11.0 → 3.11.2

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,5 +1,5 @@
1
1
  .ins-c-inventory__culling-warning {
2
- color: var(--pf-global--warning-color--100);
2
+ color: var(--pf-global--warning-color--200);
3
3
  }
4
4
 
5
5
  .ins-c-inventory__culling-danger {
@@ -1,4 +1,4 @@
1
- .ins-c-inventory__culling-warning { color: var(--pf-global--warning-color--100); }
1
+ .ins-c-inventory__culling-warning { color: var(--pf-global--warning-color--200); }
2
2
 
3
3
  .ins-c-inventory__culling-danger { color: var(--pf-global--danger-color--100); }
4
4
 
@@ -3,6 +3,7 @@ import { LinkProps } from 'react-router-dom';
3
3
  interface InsightsLinkProps {
4
4
  to: LinkProps['to'];
5
5
  app: string;
6
+ preview: boolean;
6
7
  }
7
8
  declare const InsightsLink: React.FC<InsightsLinkProps>;
8
9
  export default InsightsLink;
@@ -30,9 +30,9 @@ var react_router_dom_1 = require("react-router-dom");
30
30
  var useChrome_1 = __importDefault(require("../useChrome"));
31
31
  var urlPathHelpers_1 = require("@redhat-cloud-services/frontend-components-utilities/helpers/urlPathHelpers");
32
32
  var InsightsLink = function (_a) {
33
- var to = _a.to, app = _a.app, props = __rest(_a, ["to", "app"]);
33
+ var to = _a.to, app = _a.app, preview = _a.preview, props = __rest(_a, ["to", "app", "preview"]);
34
34
  var chrome = (0, useChrome_1.default)();
35
- var toPath = (0, urlPathHelpers_1.buildInsightsPath)(chrome, app, to);
35
+ var toPath = (0, urlPathHelpers_1.buildInsightsPath)(chrome, app, to, preview);
36
36
  return ((0, jsx_runtime_1.jsx)(react_router_dom_1.Link, __assign({ to: toPath }, props, { children: props.children })));
37
37
  };
38
38
  exports.default = InsightsLink;
@@ -1 +1 @@
1
- {"version":3,"file":"InsightsLink.js","sourceRoot":"","sources":["../src/InsightsLink/InsightsLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAAmD;AACnD,2DAAqC;AACrC,8GAAgH;AAOhH,IAAM,YAAY,GAAgC,UAAC,EAAqB;IAAnB,IAAA,EAAE,QAAA,EAAE,GAAG,SAAA,EAAK,KAAK,cAAnB,aAAqB,CAAF;IACpE,IAAM,MAAM,GAAG,IAAA,mBAAS,GAAE,CAAC;IAC3B,IAAM,MAAM,GAAG,IAAA,kCAAiB,EAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;IAElD,OAAO,CACL,uBAAC,uBAAI,aAAC,EAAE,EAAE,MAAM,IAAM,KAAK,cACxB,KAAK,CAAC,QAAQ,IACV,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"InsightsLink.js","sourceRoot":"","sources":["../src/InsightsLink/InsightsLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAAmD;AACnD,2DAAqC;AACrC,8GAAgH;AAQhH,IAAM,YAAY,GAAgC,UAAC,EAA8B;IAA5B,IAAA,EAAE,QAAA,EAAE,GAAG,SAAA,EAAE,OAAO,aAAA,EAAK,KAAK,cAA5B,wBAA8B,CAAF;IAC7E,IAAM,MAAM,GAAG,IAAA,mBAAS,GAAE,CAAC;IAC3B,IAAM,MAAM,GAAG,IAAA,kCAAiB,EAAC,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAE3D,OAAO,CACL,uBAAC,uBAAI,aAAC,EAAE,EAAE,MAAM,IAAM,KAAK,cACxB,KAAK,CAAC,QAAQ,IACV,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  .ins-c-inventory__culling-warning {
2
- color: var(--pf-global--warning-color--100);
2
+ color: var(--pf-global--warning-color--200);
3
3
  }
4
4
 
5
5
  .ins-c-inventory__culling-danger {
@@ -1,4 +1,4 @@
1
- .ins-c-inventory__culling-warning { color: var(--pf-global--warning-color--100); }
1
+ .ins-c-inventory__culling-warning { color: var(--pf-global--warning-color--200); }
2
2
 
3
3
  .ins-c-inventory__culling-danger { color: var(--pf-global--danger-color--100); }
4
4
 
@@ -25,9 +25,9 @@ import { Link } from 'react-router-dom';
25
25
  import useChrome from '../useChrome';
26
26
  import { buildInsightsPath } from '@redhat-cloud-services/frontend-components-utilities/helpers/urlPathHelpers';
27
27
  var InsightsLink = function (_a) {
28
- var to = _a.to, app = _a.app, props = __rest(_a, ["to", "app"]);
28
+ var to = _a.to, app = _a.app, preview = _a.preview, props = __rest(_a, ["to", "app", "preview"]);
29
29
  var chrome = useChrome();
30
- var toPath = buildInsightsPath(chrome, app, to);
30
+ var toPath = buildInsightsPath(chrome, app, to, preview);
31
31
  return (_jsx(Link, __assign({ to: toPath }, props, { children: props.children })));
32
32
  };
33
33
  export default InsightsLink;
@@ -1 +1 @@
1
- {"version":3,"file":"InsightsLink.js","sourceRoot":"","sources":["../../src/InsightsLink/InsightsLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACnD,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6EAA6E,CAAC;AAOhH,IAAM,YAAY,GAAgC,UAAC,EAAqB;IAAnB,IAAA,EAAE,QAAA,EAAE,GAAG,SAAA,EAAK,KAAK,cAAnB,aAAqB,CAAF;IACpE,IAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,IAAM,MAAM,GAAG,iBAAiB,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;IAElD,OAAO,CACL,KAAC,IAAI,aAAC,EAAE,EAAE,MAAM,IAAM,KAAK,cACxB,KAAK,CAAC,QAAQ,IACV,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"InsightsLink.js","sourceRoot":"","sources":["../../src/InsightsLink/InsightsLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACnD,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6EAA6E,CAAC;AAQhH,IAAM,YAAY,GAAgC,UAAC,EAA8B;IAA5B,IAAA,EAAE,QAAA,EAAE,GAAG,SAAA,EAAE,OAAO,aAAA,EAAK,KAAK,cAA5B,wBAA8B,CAAF;IAC7E,IAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,IAAM,MAAM,GAAG,iBAAiB,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAE3D,OAAO,CACL,KAAC,IAAI,aAAC,EAAE,EAAE,MAAM,IAAM,KAAK,cACxB,KAAK,CAAC,QAAQ,IACV,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/esm/index.css CHANGED
@@ -206,7 +206,7 @@ button.pf-c-menu-toggle {
206
206
  }
207
207
 
208
208
  .ins-c-inventory__culling-warning {
209
- color: var(--pf-global--warning-color--100);
209
+ color: var(--pf-global--warning-color--200);
210
210
  }
211
211
 
212
212
  .ins-c-inventory__culling-danger {
package/index.css CHANGED
@@ -206,7 +206,7 @@ button.pf-c-menu-toggle {
206
206
  }
207
207
 
208
208
  .ins-c-inventory__culling-warning {
209
- color: var(--pf-global--warning-color--100);
209
+ color: var(--pf-global--warning-color--200);
210
210
  }
211
211
 
212
212
  .ins-c-inventory__culling-danger {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components",
3
- "version": "3.11.0",
3
+ "version": "3.11.2",
4
4
  "description": "Common components for RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",