@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/custom-elements.json +2976 -2859
- package/dist/vscode.html-custom-data.json +280 -280
- package/dist/web-types.json +636 -636
- package/dist/zn.d.ts +35 -16
- package/dist/zn.min.js +205 -205
- package/docs/pages/components/form-group.md +1 -1
- package/docs/pages/components/translation-group.md +2 -2
- package/package.json +1 -1
- package/src/components/form-group/form-group.component.ts +160 -50
- package/src/components/form-group/form-group.test.ts +11 -11
- package/src/components/translation-group/translation-group.component.ts +5 -7
- package/src/components/translation-group/translation-group.test.ts +8 -8
- package/src/components/translations/translations.component.ts +3 -4
- package/src/components/translations/translations.test.ts +1 -1
- package/src/declaration.d.ts +22 -0
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
|
|
7326
|
-
private
|
|
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
|
|
7338
|
-
*
|
|
7339
|
-
*
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
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
|
|
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
|
|
9330
|
-
*
|
|
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.
|