@trackunit/react-components 0.0.38 → 0.0.42

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 (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +5 -6
package/index.js CHANGED
@@ -2414,7 +2414,9 @@ const LegendItem = ({
2414
2414
  onClick: handleOnClick
2415
2415
  }, {
2416
2416
  children: [jsx(Indicator, {
2417
- color: color
2417
+ style: {
2418
+ backgroundColor: color
2419
+ }
2418
2420
  }), jsx(Label$1, {
2419
2421
  children: label
2420
2422
  })]
@@ -2437,7 +2439,6 @@ const Indicator = tw.span`
2437
2439
  h-3
2438
2440
  rounded-[50%]
2439
2441
  mr-2
2440
- ${p => p.color}
2441
2442
  `;
2442
2443
  const Label$1 = tw.span`
2443
2444
  text-sm
package/package.json CHANGED
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "0.0.38",
3
+ "version": "0.0.42",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@trackunit/css-core": "0.0.31",
8
- "@trackunit/ui-design-tokens": "0.0.31",
9
- "@trackunit/ui-icons": "0.0.31",
10
- "@trackunit/tailwind-styled-components": "0.0.31",
11
- "echarts": "^5.3.2",
7
+ "@trackunit/css-core": "0.0.38",
8
+ "@trackunit/tailwind-styled-components": "0.0.36",
12
9
  "react": "17.0.1",
10
+ "@trackunit/ui-design-tokens": "0.0.34",
13
11
  "echarts-for-react": "^3.0.2",
14
12
  "uuid": "^8.3.2",
15
13
  "@react-spring/web": "^9.4.4",
16
14
  "react-use": "^17.3.2",
17
15
  "react-day-picker": "^8.0.3",
18
16
  "date-fns": "^2.28.0",
17
+ "@trackunit/ui-icons": "0.0.34",
19
18
  "react-useportal": "^1.0.16",
20
19
  "react-helmet": "^6.1.0",
21
20
  "@popperjs/core": "^2.11.4",