@trackunit/react-components 0.0.39 → 0.0.43
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/index.js +3 -2
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -2414,7 +2414,9 @@ const LegendItem = ({
|
|
|
2414
2414
|
onClick: handleOnClick
|
|
2415
2415
|
}, {
|
|
2416
2416
|
children: [jsx(Indicator, {
|
|
2417
|
-
|
|
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,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@trackunit/css-core": "0.0.
|
|
8
|
-
"@trackunit/tailwind-styled-components": "0.0.
|
|
7
|
+
"@trackunit/css-core": "0.0.38",
|
|
8
|
+
"@trackunit/tailwind-styled-components": "0.0.36",
|
|
9
9
|
"react": "17.0.1",
|
|
10
|
-
"@trackunit/ui-design-tokens": "0.0.
|
|
10
|
+
"@trackunit/ui-design-tokens": "0.0.35",
|
|
11
11
|
"echarts-for-react": "^3.0.2",
|
|
12
12
|
"uuid": "^8.3.2",
|
|
13
13
|
"@react-spring/web": "^9.4.4",
|
|
14
14
|
"react-use": "^17.3.2",
|
|
15
15
|
"react-day-picker": "^8.0.3",
|
|
16
16
|
"date-fns": "^2.28.0",
|
|
17
|
-
"@trackunit/ui-icons": "0.0.
|
|
17
|
+
"@trackunit/ui-icons": "0.0.35",
|
|
18
18
|
"react-useportal": "^1.0.16",
|
|
19
19
|
"react-helmet": "^6.1.0",
|
|
20
20
|
"@popperjs/core": "^2.11.4",
|