@snack-uikit/stepper 0.8.45-preview-b67349ca.0 → 0.9.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.9.0 (2026-05-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PDS-3775:** add free navigation to stepper ([8b3ba42](https://github.com/cloud-ru-tech/snack-uikit/commit/8b3ba42d948edb29c7c84a2e50c7e6c29c55d029))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.8.44 (2026-05-18)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ function Example() {
|
|
|
69
69
|
| className | `string` | - | CSS-класс |
|
|
70
70
|
| onChangeCurrentStep | `(newValue: number, prevValue: number) => void` | - | Колбек смены текущего степа |
|
|
71
71
|
| onCompleteChange | `(isCompleted: boolean) => void` | - | Колбек изменения завершенности |
|
|
72
|
-
| allowFreeNavigation | `boolean` | - |
|
|
72
|
+
| allowFreeNavigation | `boolean` | - | Позволяет свободно переключаться между разными шагами без валидации |
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
[//]: DOCUMENTATION_SECTION_END
|
|
@@ -23,7 +23,7 @@ export type StepperProps = WithSupportProps<{
|
|
|
23
23
|
onChangeCurrentStep?: (newValue: number, prevValue: number) => void;
|
|
24
24
|
/** Колбек изменения завершенности */
|
|
25
25
|
onCompleteChange?: (isCompleted: boolean) => void;
|
|
26
|
-
/**
|
|
26
|
+
/** Позволяет свободно переключаться между разными шагами без валидации */
|
|
27
27
|
allowFreeNavigation?: boolean;
|
|
28
28
|
}>;
|
|
29
29
|
export declare function Stepper({ children, steps, className, onChangeCurrentStep, onCompleteChange, defaultCurrentStepIndex, validator: validatorProp, allowFreeNavigation, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,7 +23,7 @@ export type StepperProps = WithSupportProps<{
|
|
|
23
23
|
onChangeCurrentStep?: (newValue: number, prevValue: number) => void;
|
|
24
24
|
/** Колбек изменения завершенности */
|
|
25
25
|
onCompleteChange?: (isCompleted: boolean) => void;
|
|
26
|
-
/**
|
|
26
|
+
/** Позволяет свободно переключаться между разными шагами без валидации */
|
|
27
27
|
allowFreeNavigation?: boolean;
|
|
28
28
|
}>;
|
|
29
29
|
export declare function Stepper({ children, steps, className, onChangeCurrentStep, onCompleteChange, defaultCurrentStepIndex, validator: validatorProp, allowFreeNavigation, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Stepper",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.9.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@snack-uikit/utils": "4.0.2",
|
|
44
44
|
"classnames": "2.5.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "04eb3d22444b15fb7703fde18a0c0d23ae9d94f6"
|
|
47
47
|
}
|
|
@@ -32,7 +32,7 @@ export type StepperProps = WithSupportProps<{
|
|
|
32
32
|
onChangeCurrentStep?: (newValue: number, prevValue: number) => void;
|
|
33
33
|
/** Колбек изменения завершенности */
|
|
34
34
|
onCompleteChange?: (isCompleted: boolean) => void;
|
|
35
|
-
/**
|
|
35
|
+
/** Позволяет свободно переключаться между разными шагами без валидации */
|
|
36
36
|
allowFreeNavigation?: boolean;
|
|
37
37
|
}>;
|
|
38
38
|
|