spell-ui 0.8.5 → 0.8.6

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.
@@ -26,6 +26,12 @@ export declare class PackHotSwap {
26
26
  * the page, and swap each in; else leave them, and the page reloads.
27
27
  */
28
28
  private static onScripts;
29
+ /**
30
+ * Reload the page: through the live client when it's there (`SPELL_SERVER.reload()`), which keeps the scroll and
31
+ * holds the new page behind the old one until it's ready (epic `epic-engine` I164); else a plain reload.
32
+ * - measured before: `location.reload()` here lost the scroll and the item open, through ~150ms of bare background
33
+ */
34
+ private static reload;
29
35
  /** `install()` ran. */
30
36
  private static isInstalled;
31
37
  }
@@ -518,6 +518,14 @@ export declare class UISection extends E.UIComponent<SectionVocabulary> {
518
518
  * - Does nothing unless `collapsible`, or while `disabled`.
519
519
  */
520
520
  toggle(originalEvent?: Event): boolean;
521
+ /**
522
+ * More for the fold button's tooltip, on a line of its own after `Open this section`: a component that draws the
523
+ * section sets it (the epic page's blocks: `⌥-click: open everything inside`).
524
+ * - a property, not an attribute: nothing a page writes
525
+ */
526
+ accessor toggleTipMore: string | undefined;
527
+ /** The fold button's tooltip: `Open this section` / `Close this section`, then `toggleTipMore`. */
528
+ get toggleTip(): string;
521
529
  /** A click on the toggle (Enter / Space on the button click it too). */
522
530
  private readonly onToggleClick;
523
531
  /** A click on the END chevron, outside the button: folds as the button does. */
package/dist/core.js CHANGED
@@ -3269,7 +3269,7 @@ var R = class _Vocabulary {
3269
3269
  }
3270
3270
  };
3271
3271
  L = __decoratorStart(null), __decorateElement(L, 13, "prefix", Ri, R), __decorateElement(L, 13, "dictionary", Li, R), __decoratorMetadata(L, R), __name(R, "Vocabulary"), __publicField(R, "prefix", __runInitializers(L, 8, R, "ui")), __runInitializers(L, 11, R), __publicField(R, "dictionary", __runInitializers(L, 12, R, { lang: "en" })), __runInitializers(L, 15, R);
3272
- var zi = R, Bi = "ui-", Vi = 3, Hi = "0.8.5", z = Symbol.for("spell-ui:runtime"), Ui = Hi, Wi = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", Gi = {
3272
+ var zi = R, Bi = "ui-", Vi = 3, Hi = "0.8.6", z = Symbol.for("spell-ui:runtime"), Ui = Hi, Wi = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", Gi = {
3273
3273
  none: "none",
3274
3274
  contents: "contents"
3275
3275
  }, Ki = "page", qi = "ui-scroll-locked", Ji = "ui-app-stylesheet", Yi = "utilities", Xi = /* @__PURE__ */ "fade.fade-up.fade-down.fade-left.fade-right.scale.zoom.drop.browse.browse-right.fly.fly-up.fly-down.fly-left.fly-right.slide-up.slide-down.slide-left.slide-right.swing-up.swing-down.swing-left.swing-right.flip-horizontal.flip-vertical.flash.shake.bounce.tada.pulse.jiggle.glow".split("."), Zi = {