@spinjs/components 0.1.0-preview.1 → 0.1.0-preview.2
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/dist/angle-slider/angle-slider.presentation.d.ts +1 -1
- package/dist/color-picker/color-picker.presentation.d.ts +2 -2
- package/dist/slider/slider.presentation.d.ts +1 -1
- package/dist/splitter/splitter.presentation.d.ts +1 -1
- package/dist/tree-view/tree-view.presentation.d.ts +2 -2
- package/package.json +2 -2
|
@@ -43,7 +43,7 @@ type SlotLike<R> = SlotViewFor<R, AngleSliderContext, AngleSliderEvents, AngleSl
|
|
|
43
43
|
declare const def: {
|
|
44
44
|
name: string;
|
|
45
45
|
machine: (props: AngleSliderArgs, authored: (name: string) => boolean) => import("@spinjs/runtime").Machine<AngleSliderContext, AngleSliderEvents, AngleSliderState>;
|
|
46
|
-
commitEvents: ("VALUE.SET" | "
|
|
46
|
+
commitEvents: ("VALUE.SET" | "THUMB.ARROW_DEC" | "THUMB.ARROW_INC" | "DOC.POINTER_UP" | "THUMB.HOME" | "THUMB.END")[];
|
|
47
47
|
parts: {
|
|
48
48
|
root: {};
|
|
49
49
|
label: {
|
|
@@ -227,8 +227,8 @@ export declare const def: {
|
|
|
227
227
|
attrs: (scope: ScopeLike, arg?: unknown) => {
|
|
228
228
|
type: string;
|
|
229
229
|
dir: "ltr" | "rtl";
|
|
230
|
-
"data-channel":
|
|
231
|
-
"aria-label":
|
|
230
|
+
"data-channel": "hex" | ColorChannel;
|
|
231
|
+
"aria-label": "hex" | ColorChannel;
|
|
232
232
|
"data-disabled": string | undefined;
|
|
233
233
|
value: string;
|
|
234
234
|
onFocus: (event: FocusEvent) => void;
|
|
@@ -8,7 +8,7 @@ export declare const def: {
|
|
|
8
8
|
name: string;
|
|
9
9
|
machine: (args: SliderArgs, authored: (name: string) => boolean) => import("@spinjs/runtime").Machine<SliderContext, SliderEvents, SliderState>;
|
|
10
10
|
start: "idle";
|
|
11
|
-
commitEvents: ("
|
|
11
|
+
commitEvents: ("SET_VALUE" | "HOME" | "END" | "INCREMENT" | "ARROW_INC" | "DECREMENT" | "ARROW_DEC" | "POINTER_UP")[];
|
|
12
12
|
parts: {
|
|
13
13
|
root: {};
|
|
14
14
|
label: {
|
|
@@ -38,7 +38,7 @@ declare const def: {
|
|
|
38
38
|
type: string;
|
|
39
39
|
} & Record<string, unknown>) => void;
|
|
40
40
|
}) => boolean;
|
|
41
|
-
commitEvents: ("POINTER_UP" | "SET_SIZE" | "COLLAPSE_PANEL" | "EXPAND_PANEL" | "RESIZE_PANEL" | "
|
|
41
|
+
commitEvents: ("POINTER_UP" | "SET_SIZE" | "COLLAPSE_PANEL" | "EXPAND_PANEL" | "RESIZE_PANEL" | "ENTER" | "KEYBOARD_MOVE")[];
|
|
42
42
|
parts: {
|
|
43
43
|
root: {
|
|
44
44
|
attrs: (scope: ScopeLike) => {
|
|
@@ -179,7 +179,7 @@ export declare const def: {
|
|
|
179
179
|
};
|
|
180
180
|
loadingStatus: {
|
|
181
181
|
read: (context: TreeContext) => {
|
|
182
|
-
[x: string]: "loading" | "
|
|
182
|
+
[x: string]: "loading" | "loaded" | "error";
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
nodes: {
|
|
@@ -236,7 +236,7 @@ export declare const def: {
|
|
|
236
236
|
};
|
|
237
237
|
"load-complete": {
|
|
238
238
|
prop: string;
|
|
239
|
-
watch: (context: TreeContext) => Record<string, "loading" | "
|
|
239
|
+
watch: (context: TreeContext) => Record<string, "loading" | "loaded" | "error">[];
|
|
240
240
|
detail: () => {
|
|
241
241
|
value: string;
|
|
242
242
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinjs/components",
|
|
3
|
-
"version": "0.1.0-preview.
|
|
3
|
+
"version": "0.1.0-preview.2",
|
|
4
4
|
"description": "The machine components: headless statecharts with typed bridges, framework adapters, and vendored examples.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"LICENSE"
|
|
189
189
|
],
|
|
190
190
|
"dependencies": {
|
|
191
|
-
"@spinjs/runtime": "0.1.0-preview.
|
|
191
|
+
"@spinjs/runtime": "0.1.0-preview.2",
|
|
192
192
|
"@zag-js/color-utils": "^1.44.0",
|
|
193
193
|
"perfect-freehand": "^1.2.3"
|
|
194
194
|
},
|