@grasp-labs/ds-microfrontends-integration 0.11.1 → 0.13.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/components/index.d.ts +1 -0
- package/dist/components/language/LanguageProvider.d.ts +38 -0
- package/dist/components/language/index.d.ts +1 -0
- package/dist/components/translation/TranslationProvider/TranslationProvider.d.ts +5 -1
- package/dist/{index-BFz1AoMH.js → index-CKzqMU2P.js} +3688 -3605
- package/dist/{index.esm-DgyjJxy1-u-bL0iPQ.js → index.esm-DgyjJxy1-BfITZTIT.js} +1 -1
- package/dist/index.js +28 -24
- package/dist/lib/schema/index.d.ts +1 -0
- package/dist/lib/schema/schemaResolver.d.ts +3 -0
- package/dist/types/Schema.d.ts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +11 -13
- /package/dist/types/{translation.d.ts → Translation.d.ts} +0 -0
- /package/dist/types/{vault.d.ts → Vault.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o } from "./index-
|
|
1
|
+
import { c as o } from "./index-CKzqMU2P.js";
|
|
2
2
|
import { useState as J, useEffect as De, createContext as Zt, useRef as ce, useContext as Gt, useMemo as le, useCallback as Re } from "react";
|
|
3
3
|
const $e = (e, t, n, r, a) => {
|
|
4
4
|
if (!r) throw new Error(a ?? `Invalid property path: ${t}
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,38 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as s, B as l, E as t, F as r, J as i, L as u, N as o, S as d, T as n, a as F, h as g, V as m, e as c, f as V, b as p, g as T, v as h, x as v, m as S, n as b, w as x, o as y, k as P, z as f, p as D, q as E, s as L, t as A, y as I, r as N, l as j, u as B, i as C, j as J, d as O } from "./index-CKzqMU2P.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
s as ArrayField,
|
|
4
4
|
l as BooleanField,
|
|
5
5
|
t as EnumField,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
u as
|
|
9
|
-
o as
|
|
10
|
-
d as
|
|
11
|
-
n as
|
|
12
|
-
F as
|
|
6
|
+
r as FieldError,
|
|
7
|
+
i as JsonField,
|
|
8
|
+
u as LanguageProvider,
|
|
9
|
+
o as NumberField,
|
|
10
|
+
d as SchemaFields,
|
|
11
|
+
n as TextField,
|
|
12
|
+
F as ToastProvider,
|
|
13
|
+
g as TranslationProvider,
|
|
13
14
|
m as VaultField,
|
|
14
15
|
c as VaultInput,
|
|
15
16
|
V as VaultInputField,
|
|
16
17
|
p as VaultProvider,
|
|
17
18
|
T as VaultSecretDialog,
|
|
18
19
|
h as buildDefaultValues,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
D as
|
|
27
|
-
E as
|
|
28
|
-
|
|
29
|
-
A as
|
|
30
|
-
I as
|
|
31
|
-
N as
|
|
32
|
-
j as
|
|
33
|
-
B as
|
|
20
|
+
v as createFieldDescriptor,
|
|
21
|
+
S as extractConstraints,
|
|
22
|
+
b as getArrayItemsSchema,
|
|
23
|
+
x as getDefaultValue,
|
|
24
|
+
y as getFieldType,
|
|
25
|
+
P as getLanguage,
|
|
26
|
+
f as getSchemaResolver,
|
|
27
|
+
D as isEnumField,
|
|
28
|
+
E as isNullable,
|
|
29
|
+
L as isObjectWithoutProperties,
|
|
30
|
+
A as isReadOnly,
|
|
31
|
+
I as parseSchemaFields,
|
|
32
|
+
N as resolveSchema,
|
|
33
|
+
j as useLanguage,
|
|
34
|
+
B as useToast,
|
|
35
|
+
C as useTranslation,
|
|
36
|
+
J as useTranslationContext,
|
|
37
|
+
O as useVault
|
|
34
38
|
};
|
|
@@ -3,3 +3,4 @@ export { resolveSchema } from './resolver';
|
|
|
3
3
|
export { extractConstraints, getArrayItemsSchema, getFieldType, isEnumField, isNullable, isObjectWithoutProperties, isReadOnly, } from './inspector';
|
|
4
4
|
export { buildDefaultValues, getDefaultValue } from './defaults';
|
|
5
5
|
export { createFieldDescriptor, parseSchemaFields } from './descriptor';
|
|
6
|
+
export { getSchemaResolver } from './schemaResolver';
|
package/dist/types/Schema.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* JSON Schema type for validation.
|
|
4
4
|
* Represents a schema for validating objects with unknown properties.
|
|
5
5
|
*/
|
|
6
|
-
export type Schema =
|
|
6
|
+
export type Schema = z.core.JSONSchema.JSONSchema;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './Schema';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
2
|
+
export * from './Translation';
|
|
3
|
+
export * from './Vault';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grasp-labs/ds-microfrontends-integration",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -46,13 +46,12 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@module-federation/vite": "^1.0.0",
|
|
49
|
-
"ajv": "^8.0.0",
|
|
50
|
-
"axios": "^1.7.9",
|
|
51
49
|
"express": "^5.0.0",
|
|
52
|
-
"react": "
|
|
53
|
-
"react-dom": "
|
|
50
|
+
"react": "19.2.3",
|
|
51
|
+
"react-dom": "19.2.3",
|
|
54
52
|
"react-hook-form": "^7.0.0",
|
|
55
|
-
"react-router": "
|
|
53
|
+
"react-router": "7.8.2",
|
|
54
|
+
"zod": "4.2.1"
|
|
56
55
|
},
|
|
57
56
|
"peerDependenciesMeta": {
|
|
58
57
|
"express": {
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
"devDependencies": {
|
|
63
62
|
"@eslint/js": "^9.32.0",
|
|
64
63
|
"@grasp-labs/ds-react-components": "^0.13.0",
|
|
64
|
+
"@hookform/resolvers": "^5.2.2",
|
|
65
65
|
"@module-federation/vite": "^1.9.0",
|
|
66
66
|
"@storybook/addon-a11y": "^9.1.0",
|
|
67
67
|
"@storybook/addon-themes": "^9.1.0",
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
"@types/react-dom": "^19.1.7",
|
|
77
77
|
"@vitejs/plugin-react": "^4.6.0",
|
|
78
78
|
"@vitest/coverage-v8": "^3.2.4",
|
|
79
|
-
"ajv": "^8.17.1",
|
|
80
79
|
"eslint": "^9.32.0",
|
|
81
80
|
"eslint-config-prettier": "^10.1.8",
|
|
82
81
|
"eslint-plugin-prettier": "^5.5.3",
|
|
@@ -84,12 +83,13 @@
|
|
|
84
83
|
"eslint-plugin-storybook": "^9.1.0",
|
|
85
84
|
"express": "^5.1.0",
|
|
86
85
|
"globals": "^16.2.0",
|
|
86
|
+
"i18next": "^25.7.3",
|
|
87
87
|
"jsdom": "^26.1.0",
|
|
88
88
|
"json-edit-react": "^1.29.0",
|
|
89
89
|
"prettier": "^3.6.2",
|
|
90
90
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
91
|
-
"react": "
|
|
92
|
-
"react-dom": "
|
|
91
|
+
"react": "19.2.3",
|
|
92
|
+
"react-dom": "19.2.3",
|
|
93
93
|
"react-hook-form": "^7.66.0",
|
|
94
94
|
"storybook": "^9.1.0",
|
|
95
95
|
"tailwind-merge": "^3.3.1",
|
|
@@ -99,9 +99,7 @@
|
|
|
99
99
|
"vite": "^7.0.6",
|
|
100
100
|
"vite-plugin-dts": "^4.5.4",
|
|
101
101
|
"vite-tsconfig-paths": "^5.1.4",
|
|
102
|
-
"vitest": "^3.2.4"
|
|
103
|
-
|
|
104
|
-
"dependencies": {
|
|
105
|
-
"i18next": "^23.16.8"
|
|
102
|
+
"vitest": "^3.2.4",
|
|
103
|
+
"zod": "4.2.1"
|
|
106
104
|
}
|
|
107
105
|
}
|
|
File without changes
|
|
File without changes
|