@kubex/zinc 1.1.119 → 1.1.121

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/zn.d.ts CHANGED
@@ -7322,30 +7322,49 @@ declare module "components/form-group/form-group.component" {
7322
7322
  forceCols: boolean;
7323
7323
  layout: string;
7324
7324
  pad: boolean;
7325
- /** The scroll containers we have clipped, against the inline overflow each carried before. */
7326
- private readonly clipped;
7325
+ /** The scroller the label is moved against by hand; null while native sticky is enough. */
7326
+ private tracked;
7327
+ /** Set while the compositor is running the movement off a scroll timeline instead. */
7328
+ private animation;
7329
+ private stickyTop;
7327
7330
  private frame;
7331
+ private rebind;
7332
+ private offset;
7328
7333
  private resizeObserver;
7329
7334
  connectedCallback(): void;
7330
7335
  disconnectedCallback(): void;
7331
7336
  protected firstUpdated(changedProperties: PropertyValues): void;
7332
7337
  private get labelColumn();
7333
- /** Coalesces resize work into one frame, and out of the ResizeObserver callback. */
7338
+ /** Coalesces scroll and resize work into one frame, and out of the ResizeObserver callback. */
7334
7339
  private schedule;
7335
- private readonly onViewportResize;
7336
7340
  /**
7337
- * Native sticky anchors to the nearest scroll container, even one that cannot scroll — a `zn-panel` body sized to
7338
- * its content, say — where it then holds the label still for the whole scroll. `overflow: clip` clips without
7339
- * making a scroll container, so clipping those takes them out of sticky's search and the label follows the box the
7340
- * user actually scrolls, moved by the compositor rather than by hand.
7341
- */
7342
- private freeSticky;
7343
- private clip;
7344
- private release;
7341
+ * Native sticky only follows the nearest scroll container. Where that container isn't the one
7342
+ * the user actually scrolls — a `zn-panel` body sized to its content inside a scrolling
7343
+ * slideout, say — the label never moves, so it is moved against the real scroller instead.
7344
+ */
7345
+ private bind;
7346
+ /**
7347
+ * The label's whole journey, as the scroll positions it turns at: still until the fieldset's top reaches the sticky
7348
+ * line, then a pixel for every pixel of scroll until it has crossed the fieldset. `fill: both` holds it at either
7349
+ * end, which is the clamp the scroll handler applies by hand.
7350
+ */
7351
+ private scrollLinkedTravel;
7352
+ /** Drops everything this component has put on the label or on the scroller. */
7353
+ private detach;
7354
+ /** The document scrolls through the window, every other scroller reports its own events. */
7355
+ private scrollTarget;
7356
+ /** Where the scroller's own top edge sits, which for the document is the top of the viewport. */
7357
+ private visibleTop;
7358
+ private get fieldset();
7359
+ private readonly onScroll;
7360
+ private readonly onScrollEnd;
7361
+ private readonly onViewportResize;
7362
+ private positionLabel;
7345
7363
  /** The box native sticky would anchor to, whether or not it can be scrolled. */
7346
- private isStickyAnchor;
7364
+ private nearestScrollContainer;
7365
+ /** The nearest ancestor the user can actually scroll, falling back to the document. */
7366
+ private scrollingAncestor;
7347
7367
  private isScrollContainer;
7348
- private overflows;
7349
7368
  /** Walks the flattened tree, so slots and shadow boundaries are crossed the way layout does. */
7350
7369
  private ancestors;
7351
7370
  render(): import("lit-html").TemplateResult<1>;
@@ -9326,8 +9345,8 @@ declare module "components/translation-group/translation-group.component" {
9326
9345
  * - `Partial` — only some children do
9327
9346
  * - `English` — none do, so all of them fall back to the English text
9328
9347
  *
9329
- * `Empty` replaces the last of those for English itself, which has nothing to fall back to. English is the source
9330
- * rather than a translation, so it is also left out of the `n of m translated` count beside the label.
9348
+ * `Empty` replaces the last of those for English itself, which has nothing to fall back to. English counts towards
9349
+ * the `n of m` beside the label like any other language.
9331
9350
  *
9332
9351
  * The children own their values; this component only chooses which language is shown and reports on what they hold.
9333
9352
  * It reads them back on every child `zn-change`, so the chips and the count follow an edit as it is typed.