@jsenv/navi 0.29.345 → 0.29.346

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.
@@ -67202,6 +67202,7 @@ const useListScrollSync = ({
67202
67202
  };
67203
67203
  useLayoutEffect(resolveScroller);
67204
67204
  useStickyScrollportWarning();
67205
+ useDuplicateHeaderWarning();
67205
67206
  useStuckWindowWarning({
67206
67207
  ref,
67207
67208
  scrollerElResolved,
@@ -68167,6 +68168,21 @@ const useStickyScrollportWarning = (ref, scroller) => {
68167
68168
  }
68168
68169
  });
68169
68170
  };
68171
+ // A list has one header: the row that caps it — the column row of a table —
68172
+ // and the box the list measures to keep the others from scrolling under it. A
68173
+ // second one takes that same place, so both sit at the capped edge before
68174
+ // every row and the rows declared between them read as belonging to the last:
68175
+ // a title meant to open a run of rows ends up titling nothing. That title is a
68176
+ // group label, which is why this points at List.Group rather than at the
68177
+ // stacking.
68178
+ const useDuplicateHeaderWarning = ref => {
68179
+ useRef(false);
68180
+ useLayoutEffect(() => {
68181
+ {
68182
+ return;
68183
+ }
68184
+ });
68185
+ };
68170
68186
 
68171
68187
  /**
68172
68188
  * "Am I stuck?" — the question a `position: sticky` element cannot ask about
@@ -70523,7 +70539,7 @@ const useItemStore = ({
70523
70539
  };
70524
70540
 
70525
70541
  /**
70526
- * ListGroup — a labeled group of list items.
70542
+ * List.Group — a labeled group of list items.
70527
70543
  *
70528
70544
  * Renders a <li role="presentation"> wrapper containing a label span
70529
70545
  * (accessible via aria-labelledby) and a <ul role="group"> for the items.
@@ -70859,7 +70875,8 @@ const ListResolved = /*#__PURE__*/createComponentResolver([ListFirstResolver, Li
70859
70875
  */
70860
70876
  const List = /*#__PURE__*/Object.assign(ListResolved, {
70861
70877
  Item: ListItem,
70862
- Items: ListItems
70878
+ Items: ListItems,
70879
+ Group: ListItemGroup
70863
70880
  });
70864
70881
 
70865
70882
  const PickerNaviTime = props => {