@manyducks.co/dolla 2.0.0-alpha.40 → 2.0.0-alpha.41

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/README.md CHANGED
@@ -10,9 +10,9 @@ Dolla is a batteries-included JavaScript frontend framework covering the needs o
10
10
  - ⚡ Reactive DOM updates with [Signals](./docs/state.md).
11
11
  - 📦 Reusable components with [Views](./docs/views.md).
12
12
  - 💾 Reusable state management with [Stores](./docs/stores.md).
13
- - 🔀 Built-in [routing](./docs/router.md) with nested routes and middleware support (check login status, preload data, etc).
13
+ - 🔀 Client side [routing](./docs/router.md) with nested routes and middleware support (check login status, preload data, etc).
14
14
  - 🐕 Built-in [HTTP](./docs/http.md) client with middleware support (set auth headers, etc).
15
- - 📍 Built-in [localization](./docs/i18n.md) system (store translated strings in JSON files and call the `t` function to get them).
15
+ - 📍 Lightweight [localization](./docs/i18n.md) system (store translated strings in JSON files and call the `t` function to get them).
16
16
  - 🍳 Build system optional. [Write views in JSX](./docs/setup.md) or use `html` tagged template literals.
17
17
 
18
18
  Dolla's goals include:
@@ -20,6 +20,8 @@ export interface Reactive<T> {
20
20
  }
21
21
  export type MaybeReactive<T> = Reactive<T> | T;
22
22
  export type UnsubscribeFunction = () => void;
23
+ export declare function pauseTracking(): void;
24
+ export declare function resumeTracking(): void;
23
25
  /**
24
26
  * A function to compare the current and next values. Returning `true` means the value has changed.
25
27
  */
package/dist/index.js CHANGED
@@ -13,8 +13,8 @@ var Rt = (i, t, e, s) => ({
13
13
  return a(i, t, s);
14
14
  }
15
15
  });
16
- import { a as Kt, b as Ft, i as z, I as Ot, c as Ut, d as U, g as E, s as _t, e as Qt, f as M, h as D, P as jt, j as Jt, t as St, k as Xt, l as Mt, m as xt, S as Yt, n as Tt, o as Nt, p as Zt, V as te, q as ee, r as se, u as re, v as ne } from "./markup-DIfh0nwz.js";
17
- import { w as Ue, B as je, y as Ce, A as Ie, x as Ve, z as De } from "./markup-DIfh0nwz.js";
16
+ import { a as Kt, b as Ft, i as z, I as Ot, c as Ut, d as U, g as E, s as _t, e as Qt, f as M, h as D, P as jt, j as Jt, t as St, k as Xt, l as Mt, m as xt, S as Yt, n as Tt, o as Nt, p as Zt, V as te, q as ee, r as se, u as re, v as ne } from "./markup-DkQI155j.js";
17
+ import { w as Ue, B as je, y as Ce, A as Ie, x as Ve, z as De } from "./markup-DkQI155j.js";
18
18
  function Ne(i) {
19
19
  return function() {
20
20
  if (arguments.length === 1)
@@ -1,5 +1,5 @@
1
- import { p as s } from "./markup-DIfh0nwz.js";
2
- import { P as m } from "./markup-DIfh0nwz.js";
1
+ import { p as s } from "./markup-DkQI155j.js";
2
+ import { P as m } from "./markup-DkQI155j.js";
3
3
  function d(n, r, t, e, a, l) {
4
4
  const i = { ...o(["children", "key"], r) }, c = Array.isArray(r.children) ? r.children : [r.children];
5
5
  return s(n, i, ...c);
@@ -1,5 +1,5 @@
1
- import { p as t } from "./markup-DIfh0nwz.js";
2
- import { P as l } from "./markup-DIfh0nwz.js";
1
+ import { p as t } from "./markup-DkQI155j.js";
2
+ import { P as l } from "./markup-DkQI155j.js";
3
3
  function d(n, e, r) {
4
4
  return t(n, e ? { ...u(["children", "key"], e) } : void 0, e.children);
5
5
  }