schummar-table 1.0.0-beta.7 → 1.0.0-beta.8

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/dist/index.cjs CHANGED
@@ -1606,19 +1606,22 @@ function SortComponent({ children }) {
1606
1606
  display: "grid",
1607
1607
  gridTemplateColumns: "minmax(0, 1fr) max-content",
1608
1608
  alignItems: "center",
1609
- cursor: "pointer",
1610
- "& > div": {
1611
- overflow: "hidden",
1612
- textOverflow: "ellipsis"
1613
- }
1609
+ cursor: "pointer"
1614
1610
  },
1615
1611
  onClick: (event) => toggle(event),
1616
1612
  onContextMenu: (event) => toggle(event, true),
1617
- children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("div", { children }), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(Badge, {
1613
+ children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("div", {
1614
+ css: {
1615
+ overflow: "hidden",
1616
+ textOverflow: "ellipsis"
1617
+ },
1618
+ children
1619
+ }), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(Badge, {
1618
1620
  badgeContent: sortDisabled ? 0 : index,
1619
1621
  children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("span", {
1620
1622
  css: [
1621
1623
  {
1624
+ display: "inline-flex",
1622
1625
  transition: "all 300ms",
1623
1626
  fontSize: "0.8em"
1624
1627
  },