@box-kite/react 2.2.6 → 2.2.7

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.
@@ -178,9 +178,9 @@ function R(e) {
178
178
  opacity: i ? .3 : .7,
179
179
  hover: i ? void 0 : {
180
180
  opacity: 1,
181
- bgColor: "gray-100"
181
+ bgColor: "base-100"
182
182
  },
183
- theme: { dark: { hover: i ? void 0 : { bgColor: "gray-700" } } },
183
+ theme: { dark: { hover: i ? void 0 : { bgColor: "base-700" } } },
184
184
  transitionDuration: 150,
185
185
  children: a
186
186
  });
@@ -1678,7 +1678,7 @@ function vt(e) {
1678
1678
  width: "1rem",
1679
1679
  height: "1rem",
1680
1680
  css: { verticalAlign: "middle" },
1681
- color: t ? void 0 : "gray-400",
1681
+ color: t ? void 0 : "base-400",
1682
1682
  props: { fill: "none" },
1683
1683
  children: /* @__PURE__ */ I(d, {
1684
1684
  d: t ? "m3.5 8.5 3 3 6-7" : "m5 5 6 6m0-6-6 6",
@@ -1910,9 +1910,9 @@ function Dt(e) {
1910
1910
  gap: 4,
1911
1911
  py: 16,
1912
1912
  px: 6,
1913
- bgColor: "gray-50",
1913
+ bgColor: "base-50",
1914
1914
  borderRadius: 4,
1915
- theme: { dark: { bgColor: "gray-900" } },
1915
+ theme: { dark: { bgColor: "base-900" } },
1916
1916
  children: /* @__PURE__ */ L(h, {
1917
1917
  d: "column",
1918
1918
  ai: "center",
@@ -1921,8 +1921,8 @@ function Dt(e) {
1921
1921
  width: 16,
1922
1922
  height: 16,
1923
1923
  borderRadius: 999,
1924
- bgColor: "gray-200",
1925
- theme: { dark: { bgColor: "gray-700" } },
1924
+ bgColor: "base-200",
1925
+ theme: { dark: { bgColor: "base-700" } },
1926
1926
  display: "flex",
1927
1927
  ai: "center",
1928
1928
  jc: "center",
@@ -1930,8 +1930,8 @@ function Dt(e) {
1930
1930
  viewBox: "0 0 24 24",
1931
1931
  width: "40",
1932
1932
  fill: "currentColor",
1933
- color: "gray-400",
1934
- theme: { dark: { color: "gray-500" } },
1933
+ color: "base-400",
1934
+ theme: { dark: { color: "base-500" } },
1935
1935
  children: /* @__PURE__ */ I(d, {
1936
1936
  fillRule: "evenodd",
1937
1937
  props: { clipRule: "evenodd" },
@@ -1945,14 +1945,14 @@ function Dt(e) {
1945
1945
  children: [/* @__PURE__ */ I(i, {
1946
1946
  fontSize: 18,
1947
1947
  fontWeight: 600,
1948
- color: "gray-900",
1949
- theme: { dark: { color: "gray-50" } },
1948
+ color: "base-900",
1949
+ theme: { dark: { color: "base-50" } },
1950
1950
  children: t.localeText.noColumnsTitle
1951
1951
  }), /* @__PURE__ */ I(i, {
1952
1952
  fontSize: 14,
1953
- color: "gray-500",
1953
+ color: "base-500",
1954
1954
  textAlign: "center",
1955
- theme: { dark: { color: "gray-400" } },
1955
+ theme: { dark: { color: "base-400" } },
1956
1956
  children: t.localeText.noColumnsDescription
1957
1957
  })]
1958
1958
  })]
@@ -2105,8 +2105,8 @@ function Mt(e) {
2105
2105
  },
2106
2106
  children: /* @__PURE__ */ I(i, {
2107
2107
  fontSize: 10,
2108
- color: "gray-400",
2109
- hover: { color: "gray-600" },
2108
+ color: "base-400",
2109
+ hover: { color: "base-600" },
2110
2110
  children: "✕"
2111
2111
  })
2112
2112
  });
@@ -2312,7 +2312,7 @@ function It({ column: e }) {
2312
2312
  children: [
2313
2313
  /* @__PURE__ */ I(S.Display, { children: (t) => t.length === 0 ? /* @__PURE__ */ I(i, {
2314
2314
  tag: "span",
2315
- color: "gray-400",
2315
+ color: "base-400",
2316
2316
  children: e.filterConfig?.placeholder ?? a.filterSelectPlaceholder
2317
2317
  }) : t.length === 1 ? s.find((e) => e.value === t[0])?.label ?? String(t[0]) : `${t.length} selected` }),
2318
2318
  /* @__PURE__ */ I(S.Unselect, { children: a.filterSelectClear }),
@@ -2617,7 +2617,7 @@ function Gt(e) {
2617
2617
  return /* @__PURE__ */ L(te, { children: [e.startsSection && /* @__PURE__ */ I(i, {
2618
2618
  bb: 1,
2619
2619
  my: 2,
2620
- borderColor: "gray-300",
2620
+ borderColor: "base-300",
2621
2621
  component: `${n.componentName}.header.cell.contextMenu.tooltip.item.separator`
2622
2622
  }), /* @__PURE__ */ L(p, {
2623
2623
  component: `${n.componentName}.header.cell.contextMenu.tooltip.item`,
@@ -3035,8 +3035,8 @@ function nn(e) {
3035
3035
  props: { "aria-label": t.localeText.stopGrouping(String(e.header ?? e.key)) },
3036
3036
  children: /* @__PURE__ */ I(i, {
3037
3037
  fontSize: 10,
3038
- color: "gray-400",
3039
- hover: { color: "gray-600" },
3038
+ color: "base-400",
3039
+ hover: { color: "base-600" },
3040
3040
  children: "✕"
3041
3041
  })
3042
3042
  })]
@@ -3281,8 +3281,8 @@ function un(e) {
3281
3281
  position: "absolute",
3282
3282
  insetStart: 3,
3283
3283
  pointerEvents: "none",
3284
- color: "gray-400",
3285
- theme: { dark: { color: "gray-500" } },
3284
+ color: "base-400",
3285
+ theme: { dark: { color: "base-500" } },
3286
3286
  children: /* @__PURE__ */ I(rn, {
3287
3287
  fill: "currentColor",
3288
3288
  width: "14px"
@@ -3301,11 +3301,11 @@ function un(e) {
3301
3301
  insetEnd: 2,
3302
3302
  cursor: "pointer",
3303
3303
  p: 1,
3304
- color: "gray-400",
3305
- hover: { color: "gray-600" },
3304
+ color: "base-400",
3305
+ hover: { color: "base-600" },
3306
3306
  theme: { dark: {
3307
- color: "gray-500",
3308
- hover: { color: "gray-300" }
3307
+ color: "base-500",
3308
+ hover: { color: "base-300" }
3309
3309
  } },
3310
3310
  props: { onClick: c },
3311
3311
  children: /* @__PURE__ */ I(i, {
@@ -3342,8 +3342,8 @@ function dn(e) {
3342
3342
  id: t.titleId,
3343
3343
  fontWeight: 600,
3344
3344
  fontSize: 16,
3345
- color: "gray-800",
3346
- theme: { dark: { color: "gray-100" } },
3345
+ color: "base-800",
3346
+ theme: { dark: { color: "base-100" } },
3347
3347
  children: n
3348
3348
  }), /* @__PURE__ */ I(nn, { grid: t })]
3349
3349
  }), /* @__PURE__ */ L(h, {
@@ -3535,6 +3535,7 @@ var _n = 1e3, vn = class {
3535
3535
  isPillBeforeResizer: this.hasHoverPill && this.showResizer && this.column.pin !== "END",
3536
3536
  isPillAfterResizer: this.hasHoverPill && this.showResizer && this.column.pin === "END",
3537
3537
  isRowNumber: this.column.isRowNumber,
3538
+ isGroup: !this.column.isLeaf,
3538
3539
  isFirstLeaf: this.column.isFirstLeaf,
3539
3540
  isLastLeaf: this.column.isLastLeaf
3540
3541
  };