@zag-js/steps 0.74.2 → 0.76.0
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/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -9,8 +9,8 @@ interface StepChangeDetails {
|
|
|
9
9
|
step: number;
|
|
10
10
|
}
|
|
11
11
|
interface ElementIds {
|
|
12
|
-
root?: string;
|
|
13
|
-
list?: string;
|
|
12
|
+
root?: string | undefined;
|
|
13
|
+
list?: string | undefined;
|
|
14
14
|
triggerId?(index: number): string;
|
|
15
15
|
contentId?(index: number): string;
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ interface PublicContext extends DirectionProperty, CommonProperties {
|
|
|
18
18
|
/**
|
|
19
19
|
* The custom ids for the stepper elements
|
|
20
20
|
*/
|
|
21
|
-
ids?: ElementIds;
|
|
21
|
+
ids?: ElementIds | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* The current value of the stepper
|
|
24
24
|
*/
|
|
@@ -30,15 +30,15 @@ interface PublicContext extends DirectionProperty, CommonProperties {
|
|
|
30
30
|
/**
|
|
31
31
|
* Callback to be called when a step is completed
|
|
32
32
|
*/
|
|
33
|
-
onStepComplete?: VoidFunction;
|
|
33
|
+
onStepComplete?: VoidFunction | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* If `true`, the stepper requires the user to complete the steps in order
|
|
36
36
|
*/
|
|
37
|
-
linear?: boolean;
|
|
37
|
+
linear?: boolean | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* The orientation of the stepper
|
|
40
40
|
*/
|
|
41
|
-
orientation?: "horizontal" | "vertical";
|
|
41
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* The total number of steps
|
|
44
44
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ interface StepChangeDetails {
|
|
|
9
9
|
step: number;
|
|
10
10
|
}
|
|
11
11
|
interface ElementIds {
|
|
12
|
-
root?: string;
|
|
13
|
-
list?: string;
|
|
12
|
+
root?: string | undefined;
|
|
13
|
+
list?: string | undefined;
|
|
14
14
|
triggerId?(index: number): string;
|
|
15
15
|
contentId?(index: number): string;
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ interface PublicContext extends DirectionProperty, CommonProperties {
|
|
|
18
18
|
/**
|
|
19
19
|
* The custom ids for the stepper elements
|
|
20
20
|
*/
|
|
21
|
-
ids?: ElementIds;
|
|
21
|
+
ids?: ElementIds | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* The current value of the stepper
|
|
24
24
|
*/
|
|
@@ -30,15 +30,15 @@ interface PublicContext extends DirectionProperty, CommonProperties {
|
|
|
30
30
|
/**
|
|
31
31
|
* Callback to be called when a step is completed
|
|
32
32
|
*/
|
|
33
|
-
onStepComplete?: VoidFunction;
|
|
33
|
+
onStepComplete?: VoidFunction | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* If `true`, the stepper requires the user to complete the steps in order
|
|
36
36
|
*/
|
|
37
|
-
linear?: boolean;
|
|
37
|
+
linear?: boolean | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* The orientation of the stepper
|
|
40
40
|
*/
|
|
41
|
-
orientation?: "horizontal" | "vertical";
|
|
41
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* The total number of steps
|
|
44
44
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/steps",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"description": "Core logic for the steps widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "0.
|
|
31
|
-
"@zag-js/core": "0.
|
|
32
|
-
"@zag-js/dom-query": "0.
|
|
33
|
-
"@zag-js/utils": "0.
|
|
34
|
-
"@zag-js/types": "0.
|
|
30
|
+
"@zag-js/anatomy": "0.76.0",
|
|
31
|
+
"@zag-js/core": "0.76.0",
|
|
32
|
+
"@zag-js/dom-query": "0.76.0",
|
|
33
|
+
"@zag-js/utils": "0.76.0",
|
|
34
|
+
"@zag-js/types": "0.76.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|