verstak 0.92.25011 → 0.92.25013
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/build/dist/source/api.d.ts +1 -1
- package/build/dist/source/api.js +1 -1
- package/build/dist/source/{express → components}/Theme.d.ts +5 -5
- package/build/dist/source/{express → components}/theme/Styling.d.ts +3 -3
- package/build/dist/source/core/ElDriver.js +2 -2
- package/build/dist/source/core/sensors/PointerSensor.d.ts +0 -3
- package/build/dist/source/html/HtmlElements.d.ts +1 -1
- package/build/dist/source/html/HtmlElements.js +1 -1
- package/package.json +2 -2
- /package/build/dist/source/{express → components}/Button.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Button.v.js +0 -0
- /package/build/dist/source/{express → components}/Field.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Field.v.js +0 -0
- /package/build/dist/source/{express → components}/Icon.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Icon.v.js +0 -0
- /package/build/dist/source/{express → components}/Image.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Image.v.js +0 -0
- /package/build/dist/source/{express → components}/Markdown.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Markdown.v.js +0 -0
- /package/build/dist/source/{express → components}/Spinner.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Spinner.v.js +0 -0
- /package/build/dist/source/{express → components}/Theme.js +0 -0
- /package/build/dist/source/{express → components}/Toggle.v.d.ts +0 -0
- /package/build/dist/source/{express → components}/Toggle.v.js +0 -0
- /package/build/dist/source/{express → components}/api.d.ts +0 -0
- /package/build/dist/source/{express → components}/api.js +0 -0
- /package/build/dist/source/{express → components}/common/Utils.d.ts +0 -0
- /package/build/dist/source/{express → components}/common/Utils.js +0 -0
- /package/build/dist/source/{express → components}/theme/Button.s.d.ts +0 -0
- /package/build/dist/source/{express → components}/theme/Button.s.js +0 -0
- /package/build/dist/source/{express → components}/theme/Field.s.d.ts +0 -0
- /package/build/dist/source/{express → components}/theme/Field.s.js +0 -0
- /package/build/dist/source/{express → components}/theme/Icon.s.d.ts +0 -0
- /package/build/dist/source/{express → components}/theme/Icon.s.js +0 -0
- /package/build/dist/source/{express → components}/theme/Styling.js +0 -0
- /package/build/dist/source/{express → components}/theme/Toggle.s.d.ts +0 -0
- /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 "./
|
|
2
|
+
export * from "./components/api.js";
|
package/build/dist/source/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./core/api.js";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./components/api.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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
|
|
16
|
+
export declare class Theme implements AbstractTheme {
|
|
17
17
|
private static readonly gCurrent;
|
|
18
|
-
static get current():
|
|
19
|
-
static set current(value:
|
|
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
|
|
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 $:
|
|
15
|
-
constructor($:
|
|
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
|
-
|
|
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
|
|
715
|
+
const DriversByLayout = [
|
|
716
716
|
el => {
|
|
717
717
|
const owner = el.node.owner.element;
|
|
718
718
|
const s = el.style;
|
|
@@ -23,9 +23,6 @@ export declare class PointerSensor extends BasePointerSensor {
|
|
|
23
23
|
private draggingData;
|
|
24
24
|
dropAllowed: boolean;
|
|
25
25
|
draggingOver: boolean;
|
|
26
|
-
positionX: number;
|
|
27
|
-
positionY: number;
|
|
28
|
-
modifiers: KeyboardModifiers;
|
|
29
26
|
dropX: number;
|
|
30
27
|
dropY: number;
|
|
31
28
|
dropped: boolean;
|
|
@@ -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
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.92.25013",
|
|
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.
|
|
45
|
+
"reactronic": "^0.92.25011"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/markdown-it": "14.1.2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|