verstak 0.92.25012 → 0.92.25014

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.
Files changed (38) hide show
  1. package/build/dist/source/api.d.ts +1 -1
  2. package/build/dist/source/api.js +1 -1
  3. package/build/dist/source/{express → components}/Theme.d.ts +5 -5
  4. package/build/dist/source/{express → components}/theme/Styling.d.ts +3 -3
  5. package/build/dist/source/core/ElDriver.js +2 -2
  6. package/build/dist/source/core/Elements.js +2 -2
  7. package/build/dist/source/core/WebDriver.js +1 -1
  8. package/build/dist/source/html/HtmlElements.d.ts +1 -1
  9. package/build/dist/source/html/HtmlElements.js +1 -1
  10. package/package.json +2 -2
  11. /package/build/dist/source/{express → components}/Button.v.d.ts +0 -0
  12. /package/build/dist/source/{express → components}/Button.v.js +0 -0
  13. /package/build/dist/source/{express → components}/Field.v.d.ts +0 -0
  14. /package/build/dist/source/{express → components}/Field.v.js +0 -0
  15. /package/build/dist/source/{express → components}/Icon.v.d.ts +0 -0
  16. /package/build/dist/source/{express → components}/Icon.v.js +0 -0
  17. /package/build/dist/source/{express → components}/Image.v.d.ts +0 -0
  18. /package/build/dist/source/{express → components}/Image.v.js +0 -0
  19. /package/build/dist/source/{express → components}/Markdown.v.d.ts +0 -0
  20. /package/build/dist/source/{express → components}/Markdown.v.js +0 -0
  21. /package/build/dist/source/{express → components}/Spinner.v.d.ts +0 -0
  22. /package/build/dist/source/{express → components}/Spinner.v.js +0 -0
  23. /package/build/dist/source/{express → components}/Theme.js +0 -0
  24. /package/build/dist/source/{express → components}/Toggle.v.d.ts +0 -0
  25. /package/build/dist/source/{express → components}/Toggle.v.js +0 -0
  26. /package/build/dist/source/{express → components}/api.d.ts +0 -0
  27. /package/build/dist/source/{express → components}/api.js +0 -0
  28. /package/build/dist/source/{express → components}/common/Utils.d.ts +0 -0
  29. /package/build/dist/source/{express → components}/common/Utils.js +0 -0
  30. /package/build/dist/source/{express → components}/theme/Button.s.d.ts +0 -0
  31. /package/build/dist/source/{express → components}/theme/Button.s.js +0 -0
  32. /package/build/dist/source/{express → components}/theme/Field.s.d.ts +0 -0
  33. /package/build/dist/source/{express → components}/theme/Field.s.js +0 -0
  34. /package/build/dist/source/{express → components}/theme/Icon.s.d.ts +0 -0
  35. /package/build/dist/source/{express → components}/theme/Icon.s.js +0 -0
  36. /package/build/dist/source/{express → components}/theme/Styling.js +0 -0
  37. /package/build/dist/source/{express → components}/theme/Toggle.s.d.ts +0 -0
  38. /package/build/dist/source/{express → components}/theme/Toggle.s.js +0 -0
@@ -1,2 +1,2 @@
1
1
  export * from "./core/api.js";
2
- export * from "./express/api.js";
2
+ export * from "./components/api.js";
@@ -1,2 +1,2 @@
1
1
  export * from "./core/api.js";
2
- export * from "./express/api.js";
2
+ export * from "./components/api.js";
@@ -1,4 +1,4 @@
1
- import { AbstractTheme } from "./theme/Styling.js";
1
+ import { BasicAbstractTheme } from "./theme/Styling.js";
2
2
  import { ButtonStyling, DefaultButtonStyling } from "./theme/Button.s.js";
3
3
  import { FieldStyling, DefaultFieldStyling } from "./theme/Field.s.js";
4
4
  import { IconStyling, DefaultIconStyling } from "./theme/Icon.s.js";
@@ -7,16 +7,16 @@ export { type ButtonStyling, type DefaultButtonStyling } from "./theme/Button.s.
7
7
  export { type FieldStyling, type DefaultFieldStyling } from "./theme/Field.s.js";
8
8
  export { type IconStyling, type DefaultIconStyling } from "./theme/Icon.s.js";
9
9
  export { type ToggleStyling, type DefaultToggleStyling } from "./theme/Toggle.s.js";
10
- export type VerstakExpressTheme = AbstractTheme & {
10
+ export type AbstractTheme = BasicAbstractTheme & {
11
11
  readonly button: ButtonStyling;
12
12
  readonly field: FieldStyling;
13
13
  readonly icon: IconStyling;
14
14
  readonly toggle: ToggleStyling;
15
15
  };
16
- export declare class Theme implements VerstakExpressTheme {
16
+ export declare class Theme implements AbstractTheme {
17
17
  private static readonly gCurrent;
18
- static get current(): VerstakExpressTheme;
19
- static set current(value: VerstakExpressTheme);
18
+ static get current(): AbstractTheme;
19
+ static set current(value: AbstractTheme);
20
20
  name: string;
21
21
  fillColor: string;
22
22
  textColor: string;
@@ -1,5 +1,5 @@
1
1
  import { ObservableObject } from "reactronic";
2
- export type AbstractTheme = {
2
+ export type BasicAbstractTheme = {
3
3
  fillColor: string;
4
4
  textColor: string;
5
5
  positiveColor: string;
@@ -11,6 +11,6 @@ export type AbstractTheme = {
11
11
  shadow: string;
12
12
  };
13
13
  export declare class Styling extends ObservableObject {
14
- protected readonly $: AbstractTheme;
15
- constructor($: AbstractTheme);
14
+ protected readonly $: BasicAbstractTheme;
15
+ constructor($: BasicAbstractTheme);
16
16
  }
@@ -218,7 +218,7 @@ export class ElImpl {
218
218
  static applyKind(element, value) {
219
219
  const kind = Constants.layouts[value];
220
220
  kind && element.native.setAttribute(Constants.kindAttrName, kind);
221
- VerstakDriversByLayout[value](element);
221
+ DriversByLayout[value](element);
222
222
  }
223
223
  static applyCoords(element, value) {
224
224
  const s = element.style;
@@ -712,7 +712,7 @@ export const Constants = {
712
712
  keyAttrName: "key",
713
713
  kindAttrName: "kind",
714
714
  };
715
- const VerstakDriversByLayout = [
715
+ const DriversByLayout = [
716
716
  el => {
717
717
  const owner = el.node.owner.element;
718
718
  const s = el.style;
@@ -172,9 +172,9 @@ export class PanelDriver extends HtmlDriver {
172
172
  }
173
173
  },
174
174
  });
175
- ReactiveNode.updateNestedNodesThenDo(() => {
175
+ ReactiveNode.runNestedNodeScriptsThenDo(() => {
176
176
  layoutInfo.isUpdateFinished = true;
177
- ReactiveNode.triggerUpdate(relayoutEl, { stamp: node.stamp });
177
+ ReactiveNode.triggerScriptRun(relayoutEl, { stamp: node.stamp });
178
178
  });
179
179
  }
180
180
  return result;
@@ -67,7 +67,7 @@ export class WebDriver extends ElDriver {
67
67
  element.place = undefined;
68
68
  }
69
69
  if (gBlinkingEffectMarker)
70
- blink(element.native, ReactiveNode.currentUpdatePriority, node.stamp);
70
+ blink(element.native, ReactiveNode.currentScriptPriority, node.stamp);
71
71
  }, e => {
72
72
  });
73
73
  return result;
@@ -87,7 +87,7 @@ export declare function Ruby<M = unknown>(declaration?: ReactiveNodeDecl<El<HTML
87
87
  export declare function S<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
88
88
  export declare function Samp<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
89
89
  export declare function Script<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLScriptElement, M>>): ReactiveNode<El<HTMLScriptElement, M>>;
90
- export declare function Sctn<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
90
+ export declare function Section<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
91
91
  export declare function Select<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLSelectElement, M>>): ReactiveNode<El<HTMLSelectElement, M>>;
92
92
  export declare function Small<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
93
93
  export declare function Source<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLSourceElement, M>>): ReactiveNode<El<HTMLSourceElement, M>>;
@@ -88,7 +88,7 @@ export function Ruby(declaration) { return ReactiveNode.declare(HtmlTags.ruby, d
88
88
  export function S(declaration) { return ReactiveNode.declare(HtmlTags.s, declaration); }
89
89
  export function Samp(declaration) { return ReactiveNode.declare(HtmlTags.samp, declaration); }
90
90
  export function Script(declaration) { return ReactiveNode.declare(HtmlTags.script, declaration); }
91
- export function Sctn(declaration) { return ReactiveNode.declare(HtmlTags.section, declaration); }
91
+ export function Section(declaration) { return ReactiveNode.declare(HtmlTags.section, declaration); }
92
92
  export function Select(declaration) { return ReactiveNode.declare(HtmlTags.select, declaration); }
93
93
  export function Small(declaration) { return ReactiveNode.declare(HtmlTags.small, declaration); }
94
94
  export function Source(declaration) { return ReactiveNode.declare(HtmlTags.source, declaration); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.92.25012",
3
+ "version": "0.92.25014",
4
4
  "description": "Verstak - Front-End Library",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  "markdown-it": "^14.1.0",
43
43
  "markdown-it-prism": "^2.3.0",
44
44
  "prismjs": "^1.29.0",
45
- "reactronic": "^0.92.25010"
45
+ "reactronic": "^0.92.25012"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/markdown-it": "14.1.2",