@gisce/react-ooui 2.97.0-alpha.1 → 2.97.0-alpha.3

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.
@@ -18359,13 +18359,16 @@ function Ib(t, e) {
18359
18359
  }
18360
18360
  const Aw = $t(Ib), { useToken: Ab } = rt;
18361
18361
  function Rb(t) {
18362
- const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i } = t, { token: a } = Ab(), c = o ? a.colorBgContainer : a.colorPrimaryBg;
18362
+ const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i } = t, { token: a } = Ab(), c = o ? a.colorBgContainer : a.colorPrimaryBg, l = a.colorPrimaryActive;
18363
18363
  return /* @__PURE__ */ L(
18364
18364
  "div",
18365
18365
  {
18366
18366
  onClick: () => {
18367
18367
  !o && i(r);
18368
18368
  },
18369
+ onMouseDown: (d) => {
18370
+ d.button === 1 && (d.preventDefault(), n(r));
18371
+ },
18369
18372
  style: {
18370
18373
  cursor: "pointer",
18371
18374
  height: 40,
@@ -18384,11 +18387,11 @@ function Rb(t) {
18384
18387
  minWidth: "fit-content",
18385
18388
  flexShrink: 0,
18386
18389
  whiteSpace: "nowrap",
18387
- borderBottom: `2px solid ${a.colorTextSecondary}`,
18390
+ borderBottom: `2px solid ${l}`,
18388
18391
  ...o && {
18389
- borderLeft: `2px solid ${a.colorTextSecondary}`,
18390
- borderTop: `2px solid ${a.colorTextSecondary}`,
18391
- borderRight: `2px solid ${a.colorTextSecondary}`,
18392
+ borderLeft: `2px solid ${l}`,
18393
+ borderTop: `2px solid ${l}`,
18394
+ borderRight: `2px solid ${l}`,
18392
18395
  borderBottom: "none",
18393
18396
  zIndex: 1,
18394
18397
  position: "relative"
@@ -18408,7 +18411,7 @@ function Rb(t) {
18408
18411
  paddingLeft: 5,
18409
18412
  paddingRight: 5,
18410
18413
  marginBottom: 2,
18411
- fontWeight: o ? 500 : "normal"
18414
+ fontWeight: o ? "bold" : "normal"
18412
18415
  },
18413
18416
  children: e || ""
18414
18417
  }
@@ -18429,8 +18432,8 @@ function Rb(t) {
18429
18432
  style: {
18430
18433
  color: a.colorPrimaryActive
18431
18434
  },
18432
- onClick: (l) => {
18433
- l.stopPropagation(), n(r);
18435
+ onClick: (d) => {
18436
+ d.stopPropagation(), n(r);
18434
18437
  }
18435
18438
  }
18436
18439
  )