@noxickon/onyx 1.0.3 → 1.0.4

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,4 +1,4 @@
1
- "use strict";const e=require("./hooks-DiKvsNs-.js"),r=e.gql`
1
+ "use strict";const e=require("./hooks-DB942JYB.js"),r=e.gql`
2
2
  query getCurrentUser {
3
3
  me {
4
4
  id
@@ -1,4 +1,4 @@
1
- import { n as e } from "./hooks-bJFfbTks.js";
1
+ import { n as e } from "./hooks-BswtWYGK.js";
2
2
  const m = e`
3
3
  query getCurrentUser {
4
4
  me {
@@ -1,5 +1,5 @@
1
1
  import w3, { isValidElement as h1, createContext as n1, useState as X, useCallback as r1, useMemo as w1, useContext as o1, useRef as t1, useEffect as S1, Children as b1, Fragment as k3, cloneElement as r5, createElement as T3, useId as k1, useLayoutEffect as P3 } from "react";
2
- import { o as J0, i as C7, s as H7, p as t2, c as u5, a as V7, b as B3, u as L7, m as M7, d as h2, e as _5, f as W1, g as e7, h as r7, j as a7, r as i7, t as t7, k as A7 } from "./hooks-bJFfbTks.js";
2
+ import { o as J0, i as C7, s as H7, p as t2, c as u5, a as V7, b as B3, u as L7, m as M7, d as h2, e as _5, f as W1, g as e7, h as r7, j as a7, r as i7, t as t7, k as A7 } from "./hooks-BswtWYGK.js";
3
3
  import { createPortal as P2, flushSync as n7 } from "react-dom";
4
4
  import '../ui.css';function o7(H) {
5
5
  return H && H.__esModule && Object.prototype.hasOwnProperty.call(H, "default") ? H.default : H;
@@ -20085,7 +20085,7 @@ const In2 = {
20085
20085
  ),
20086
20086
  "data-ox-slot": "table-head",
20087
20087
  ...V,
20088
- children: M ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
20088
+ children: M ? /* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-center", children: [
20089
20089
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Select all rows" }),
20090
20090
  /* @__PURE__ */ r.jsx(
20091
20091
  E2,
@@ -20107,7 +20107,7 @@ const In2 = {
20107
20107
  "tr",
20108
20108
  {
20109
20109
  className: m(
20110
- "border-b border-gray-400 last:border-b-0 hover:bg-gray-300",
20110
+ "border-b border-gray-400 last:border-b-0",
20111
20111
  "in-[tfoot]:hover:bg-transparent in-[thead]:hover:bg-transparent",
20112
20112
  {
20113
20113
  "bg-gray-300": M?.selectable && V && M.isSelected(V)
@@ -20117,14 +20117,14 @@ const In2 = {
20117
20117
  "data-ox-slot": "table-row",
20118
20118
  ...L,
20119
20119
  children: [
20120
- M?.selectable && V && /* @__PURE__ */ r.jsx("td", { className: "px-3 py-2", children: /* @__PURE__ */ r.jsx(
20120
+ M?.selectable && V ? /* @__PURE__ */ r.jsx("td", { className: "px-3 py-2", children: /* @__PURE__ */ r.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ r.jsx(
20121
20121
  E2,
20122
20122
  {
20123
20123
  "aria-label": `Select row ${V}`,
20124
20124
  checked: M.isSelected(V),
20125
20125
  onCheckedChange: e
20126
20126
  }
20127
- ) }),
20127
+ ) }) }) : null,
20128
20128
  H
20129
20129
  ]
20130
20130
  }