@parca/profile 0.16.254 → 0.16.255

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.16.255](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.254...@parca/profile@0.16.255) (2023-09-14)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
6
10
  ## 0.16.254 (2023-09-14)
7
11
 
8
12
  **Note:** Version bump only for package @parca/profile
@@ -24,6 +24,6 @@ const CompareButton = ({ disabled, onClick, }) => {
24
24
  const compareExplanation = 'Compare two profiles and see the relative difference between them more clearly.';
25
25
  if (disabled)
26
26
  return _jsx(_Fragment, {});
27
- return (_jsxs("div", { ref: setComparePopperReferenceElement, children: [_jsx(Button, { color: "neutral", disabled: disabled, onClick: onClick, onMouseEnter: () => setCompareHover(true), onMouseLeave: () => setCompareHover(false), children: "Compare" }), compareHover && (_jsx("div", { ref: setComparePopperElement, style: styles.popper, ...attributes.popper, className: "z-50", children: _jsx("div", { className: "flex", children: _jsxs("div", { className: "relative mx-2", children: [_jsx("svg", { className: "left-0 h-1 w-full text-black", x: "0px", y: "0px", viewBox: "0 0 255 127.5", children: _jsx("polygon", { className: "fill-current", points: "0,127.5 127.5,0 255,127.5" }) }), _jsx("div", { className: "right-0 w-40 rounded bg-black py-2 px-3 text-xs text-white", children: compareExplanation })] }) }) }))] }));
27
+ return (_jsxs("div", { ref: setComparePopperReferenceElement, children: [_jsx(Button, { variant: "neutral", disabled: disabled, onClick: onClick, onMouseEnter: () => setCompareHover(true), onMouseLeave: () => setCompareHover(false), children: "Compare" }), compareHover && (_jsx("div", { ref: setComparePopperElement, style: styles.popper, ...attributes.popper, className: "z-50", children: _jsx("div", { className: "flex", children: _jsxs("div", { className: "relative mx-2", children: [_jsx("svg", { className: "left-0 h-1 w-full text-black", x: "0px", y: "0px", viewBox: "0 0 255 127.5", children: _jsx("polygon", { className: "fill-current", points: "0,127.5 127.5,0 255,127.5" }) }), _jsx("div", { className: "right-0 w-40 rounded bg-black px-3 py-2 text-xs text-white", children: compareExplanation })] }) }) }))] }));
28
28
  };
29
29
  export default CompareButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.16.254",
3
+ "version": "0.16.255",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@parca/client": "^0.16.86",
@@ -49,5 +49,5 @@
49
49
  "access": "public",
50
50
  "registry": "https://registry.npmjs.org/"
51
51
  },
52
- "gitHead": "0ca31b9ddf1c2db1ccd5cd3c5e7d7f0e572299fd"
52
+ "gitHead": "f0b33158119c209af4f3266e1525f86fce361cf9"
53
53
  }
@@ -40,7 +40,7 @@ const CompareButton = ({
40
40
  return (
41
41
  <div ref={setComparePopperReferenceElement}>
42
42
  <Button
43
- color="neutral"
43
+ variant="neutral"
44
44
  disabled={disabled}
45
45
  onClick={onClick}
46
46
  onMouseEnter={() => setCompareHover(true)}
@@ -60,7 +60,7 @@ const CompareButton = ({
60
60
  <svg className="left-0 h-1 w-full text-black" x="0px" y="0px" viewBox="0 0 255 127.5">
61
61
  <polygon className="fill-current" points="0,127.5 127.5,0 255,127.5" />
62
62
  </svg>
63
- <div className="right-0 w-40 rounded bg-black py-2 px-3 text-xs text-white">
63
+ <div className="right-0 w-40 rounded bg-black px-3 py-2 text-xs text-white">
64
64
  {compareExplanation}
65
65
  </div>
66
66
  </div>