verstak 0.92.25006 → 0.92.25007

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.
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { cachedResult, atomicAction } from "reactronic";
10
+ import { cachedResult, atomically } from "reactronic";
11
11
  export function restyler(restyle) {
12
- return atomicAction(() => new ObservablesStyles(restyle));
12
+ return atomically(() => new ObservablesStyles(restyle));
13
13
  }
14
14
  export class ObservablesStyles {
15
15
  constructor(restyle) {
@@ -1,4 +1,4 @@
1
- import { atomicAction, ReactiveNodeVariable, Isolation } from "reactronic";
1
+ import { atomically, ReactiveNodeVariable, Isolation } from "reactronic";
2
2
  import { DefaultButtonStyling } from "./theme/Button.s.js";
3
3
  import { DefaultFieldStyling } from "./theme/Field.s.js";
4
4
  import { DefaultIconStyling } from "./theme/Icon.s.js";
@@ -27,4 +27,4 @@ export class Theme {
27
27
  Theme.gCurrent.value = value;
28
28
  }
29
29
  }
30
- Theme.gCurrent = new ReactiveNodeVariable(atomicAction({ isolation: Isolation.disjoinFromOuterTransaction }, () => new Theme()));
30
+ Theme.gCurrent = new ReactiveNodeVariable(atomically({ isolation: Isolation.disjoinFromOuterTransaction }, () => new Theme()));
@@ -1,6 +1,6 @@
1
- import { ObservableObject, Ref, atomicAction, Isolation } from "reactronic";
1
+ import { ObservableObject, Ref, atomically, Isolation } from "reactronic";
2
2
  export function observableModel(modelProps) {
3
- return atomicAction({ isolation: Isolation.disjoinFromOuterTransaction }, () => new ObservableComposition(modelProps));
3
+ return atomically({ isolation: Isolation.disjoinFromOuterTransaction }, () => new ObservableComposition(modelProps));
4
4
  }
5
5
  class ObservableComposition extends ObservableObject {
6
6
  constructor(composition) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.92.25006",
3
+ "version": "0.92.25007",
4
4
  "description": "Verstak - Front-End Library",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "markdown-it": "^14.1.0",
42
42
  "markdown-it-prism": "^2.3.0",
43
43
  "prismjs": "^1.29.0",
44
- "reactronic": "^0.92.25006"
44
+ "reactronic": "^0.92.25007"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/markdown-it": "14.1.2",