@lolmath/ui 0.0.0-20260902190338 → 0.0.0-20260902204449

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.d.mts CHANGED
@@ -291,6 +291,11 @@ interface NavigationTreeItemContentProps extends NavigationTreeItemContentProps$
291
291
  * The children become the row's link, so they are the label and nothing else;
292
292
  * an expand chevron is added for items that have children. A branch with no
293
293
  * `href` of its own expands when its label is pressed instead of navigating.
294
+ *
295
+ * A row in the tree's `disabledKeys` is inert down to its link. React Aria
296
+ * feeds that link its `href` through context but not the item's disabled
297
+ * state, so this passes it on: the link drops to a plain span with nothing to
298
+ * tab to, nothing to press, and no pointer cursor over it.
294
299
  */
295
300
  declare function NavigationTreeItemContent({ actions, children }: NavigationTreeItemContentProps): import("react").JSX.Element;
296
301
  interface NavigationTreeSectionProps<T> extends NavigationTreeSectionProps$1<T> {}
package/dist/index.mjs CHANGED
@@ -1071,9 +1071,14 @@ function NavigationTreeItem({ className, ...props }) {
1071
1071
  * The children become the row's link, so they are the label and nothing else;
1072
1072
  * an expand chevron is added for items that have children. A branch with no
1073
1073
  * `href` of its own expands when its label is pressed instead of navigating.
1074
+ *
1075
+ * A row in the tree's `disabledKeys` is inert down to its link. React Aria
1076
+ * feeds that link its `href` through context but not the item's disabled
1077
+ * state, so this passes it on: the link drops to a plain span with nothing to
1078
+ * tab to, nothing to press, and no pointer cursor over it.
1074
1079
  */
1075
1080
  function NavigationTreeItemContent({ actions, children }) {
1076
- return /* @__PURE__ */ jsx(NavigationTreeItemContent$1, { children: composeRenderProps(children, (children, { hasChildItems }) => /* @__PURE__ */ jsxs(Fragment, { children: [
1081
+ return /* @__PURE__ */ jsx(NavigationTreeItemContent$1, { children: composeRenderProps(children, (children, { hasChildItems, isDisabled }) => /* @__PURE__ */ jsxs(Fragment, { children: [
1077
1082
  hasChildItems ? /* @__PURE__ */ jsx(Button$1, {
1078
1083
  className: navigation_tree_module_default.chevron,
1079
1084
  slot: "chevron"
@@ -1083,6 +1088,7 @@ function NavigationTreeItemContent({ actions, children }) {
1083
1088
  }),
1084
1089
  /* @__PURE__ */ jsx(Link, {
1085
1090
  className: navigation_tree_module_default.link,
1091
+ isDisabled,
1086
1092
  children
1087
1093
  }),
1088
1094
  actions