@obosbbl/grunnmuren-react 1.14.2-beta.0 → 1.14.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.
|
@@ -11,8 +11,8 @@ export declare function useFormStepContext<FormStepData extends FieldValues>(for
|
|
|
11
11
|
setActiveStep: (step: number) => void;
|
|
12
12
|
previousFormStep: () => Promise<void>;
|
|
13
13
|
nextFormStep: () => void;
|
|
14
|
-
submitAndNextFormStep: (formValues: FormStepData) =>
|
|
15
|
-
setFormData: (formValues: FormStepData) =>
|
|
14
|
+
submitAndNextFormStep: (formValues: FormStepData) => void;
|
|
15
|
+
setFormData: (formValues: FormStepData) => void;
|
|
16
16
|
formData: any;
|
|
17
17
|
};
|
|
18
18
|
export declare function FormStepProvider({ children }: {
|
package/dist/grunnmuren.mjs
CHANGED
|
@@ -648,7 +648,7 @@ function Xe(e) {
|
|
|
648
648
|
const [r, t] = A(Q), n = N(async () => {
|
|
649
649
|
t({ type: "PREV_STEP" });
|
|
650
650
|
}, [t]), a = N(
|
|
651
|
-
|
|
651
|
+
(d) => {
|
|
652
652
|
t({
|
|
653
653
|
type: "SET_FORM_STEP_DATA",
|
|
654
654
|
formId: `form${e}`,
|
|
@@ -659,8 +659,8 @@ function Xe(e) {
|
|
|
659
659
|
), s = N(() => {
|
|
660
660
|
t({ type: "NEXT_STEP" });
|
|
661
661
|
}, [t]), i = N(
|
|
662
|
-
|
|
663
|
-
|
|
662
|
+
(d) => {
|
|
663
|
+
a(d), s();
|
|
664
664
|
},
|
|
665
665
|
[s, a]
|
|
666
666
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-react",
|
|
3
|
-
"version": "1.14.2
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "OBOS Grunnmuren design system React components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
],
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@storybook/addon-controls": "7.
|
|
21
|
-
"@storybook/addon-docs": "7.
|
|
22
|
-
"@storybook/addon-styling": "1.3.
|
|
20
|
+
"@storybook/addon-controls": "7.1.1",
|
|
21
|
+
"@storybook/addon-docs": "7.1.1",
|
|
22
|
+
"@storybook/addon-styling": "1.3.5",
|
|
23
23
|
"@storybook/builder-vite": "7.0.26",
|
|
24
|
-
"@storybook/react": "7.
|
|
24
|
+
"@storybook/react": "7.1.1",
|
|
25
25
|
"@storybook/react-vite": "7.0.26",
|
|
26
|
-
"@types/react": "18.2.
|
|
27
|
-
"@types/react-dom": "18.2.
|
|
26
|
+
"@types/react": "18.2.17",
|
|
27
|
+
"@types/react-dom": "18.2.7",
|
|
28
28
|
"@vitejs/plugin-react": "4.0.2",
|
|
29
29
|
"autoprefixer": "10.4.14",
|
|
30
|
-
"postcss": "8.4.
|
|
30
|
+
"postcss": "8.4.27",
|
|
31
31
|
"react": "18.2.0",
|
|
32
32
|
"react-dom": "18.2.0",
|
|
33
33
|
"require-from-string": "2.0.2",
|
|
34
34
|
"rimraf": "5.0.1",
|
|
35
|
-
"storybook": "7.
|
|
36
|
-
"tailwindcss": "3.3.
|
|
37
|
-
"type-fest": "3.
|
|
35
|
+
"storybook": "7.1.1",
|
|
36
|
+
"tailwindcss": "3.3.3",
|
|
37
|
+
"type-fest": "3.13.1",
|
|
38
38
|
"vite": "4.4.2",
|
|
39
39
|
"@obosbbl/grunnmuren-tailwind": "0.9.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@react-hookz/web": "23.
|
|
42
|
+
"@react-hookz/web": "23.1.0",
|
|
43
43
|
"clsx": "1.2.1",
|
|
44
|
-
"react-collapsed": "4.0.
|
|
44
|
+
"react-collapsed": "4.0.4",
|
|
45
45
|
"react-merge-refs": "2.0.2",
|
|
46
46
|
"@obosbbl/grunnmuren-icons": "^0.6.0"
|
|
47
47
|
},
|