@gisce/react-ooui 1.2.0 → 1.2.1

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 +1 @@
1
- {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,aAAK,QAAQ,GAAG;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,iBAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,qBAmE3B;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,aAAK,QAAQ,GAAG;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,iBAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,qBAkE3B;AAED,eAAe,GAAG,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -41,7 +41,7 @@ function Tab(props: TabProps) {
41
41
  >
42
42
  <div
43
43
  style={{
44
- color: isActive ? token.colorPrimaryActive : token.colorPrimaryBorder,
44
+ color: token.colorPrimaryActive,
45
45
  userSelect: "none",
46
46
  height: 40,
47
47
  display: "flex",
@@ -50,6 +50,7 @@ function Tab(props: TabProps) {
50
50
  paddingLeft: 5,
51
51
  paddingRight: 5,
52
52
  marginBottom: 2,
53
+ fontWeight: isActive ? 500 : "normal",
53
54
  }}
54
55
  >
55
56
  {label}
@@ -66,9 +67,7 @@ function Tab(props: TabProps) {
66
67
  >
67
68
  <CloseOutlined
68
69
  style={{
69
- color: isActive
70
- ? token.colorPrimaryActive
71
- : token.colorPrimaryBorder,
70
+ color: token.colorPrimaryActive,
72
71
  }}
73
72
  onClick={(e) => {
74
73
  e.stopPropagation();