@feathery/react 2.4.22 → 2.4.24
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/README.md +30 -0
- package/dist/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/Form/grid/Element/utils/address.d.ts +4 -0
- package/dist/Form/grid/Element/utils/address.d.ts.map +1 -0
- package/dist/Form/grid/Element/utils/utils.d.ts.map +1 -0
- package/dist/elements/fields/PhoneField/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
- package/dist/Form/grid/Element/utils.d.ts.map +0 -1
- /package/dist/Form/grid/Element/{utils.d.ts → utils/utils.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -7,7 +7,37 @@
|
|
|
7
7
|
Use this library to embed and extend Feathery forms in your codebase
|
|
8
8
|
|
|
9
9
|
## Documentation
|
|
10
|
+
|
|
10
11
|
For details on how to use this library, check out our [documentation](https://docs.feathery.io/develop/react).
|
|
11
12
|
|
|
13
|
+
## FAQ
|
|
14
|
+
|
|
15
|
+
### Q: How do I use the Feathery React library with Vite?
|
|
16
|
+
|
|
17
|
+
**A:** Remember to add a `global` definition in your Vite config. For example, the following config could be used:
|
|
18
|
+
|
|
19
|
+
```aiignore
|
|
20
|
+
import { defineConfig } from "vite";
|
|
21
|
+
import react from "@vitejs/plugin-react";
|
|
22
|
+
|
|
23
|
+
export default defineConfig({
|
|
24
|
+
resolve: {
|
|
25
|
+
alias: {},
|
|
26
|
+
},
|
|
27
|
+
plugins: [react()],
|
|
28
|
+
server: {
|
|
29
|
+
port: 3000,
|
|
30
|
+
},
|
|
31
|
+
preview: {
|
|
32
|
+
port: 3000,
|
|
33
|
+
},
|
|
34
|
+
define: {
|
|
35
|
+
// By default, Vite doesn't include shims for NodeJS
|
|
36
|
+
global: "window",
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
12
41
|
## License
|
|
42
|
+
|
|
13
43
|
[BSL](https://github.com/feathery-org/feathery-react/blob/master/LICENSE)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Form/grid/Element/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Form/grid/Element/index.tsx"],"names":[],"mappings":"AAoCA,QAAA,MAAM,OAAO,uBAAwB,GAAG,4DAypBvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getRelatedAddressFields: (element: any, activeStep: any) => any;
|
|
2
|
+
export declare const clearNonCountryAddressFields: (countryElement: any, activeStep: any, fieldValues: any, updateFieldValues: any, index: any) => void;
|
|
3
|
+
export declare const getRelatedAddressValues: (addressElement: any, activeStep: any, fieldValues: any, address: any, index: any, servar: any) => Record<string, any>;
|
|
4
|
+
//# sourceMappingURL=address.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../../src/Form/grid/Element/utils/address.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,uBAAuB,YAAa,GAAG,cAAc,GAAG,QAepE,CAAC;AAGF,eAAO,MAAM,4BAA4B,mBACvB,GAAG,cACP,GAAG,eACF,GAAG,qBACG,GAAG,SACf,GAAG,SAqBX,CAAC;AAGF,eAAO,MAAM,uBAAuB,mBAClB,GAAG,cACP,GAAG,eACF,GAAG,WACP,GAAG,SACL,GAAG,UACF,GAAG,wBAmCZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/Form/grid/Element/utils/utils.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,OAK3D;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,WAS5D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,OAqBxE;AAKD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAM5D;AAED,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,GAAG,EAChB,CAAC,EAAE,GAAG,EACN,iBAAiB,EAAE,GAAG,EACtB,WAAW,EAAE,MAAM,GAAG,IAAI,sBAuB3B;AAED,wBAAgB,2BAA2B,CACzC,CAAC,EAAE,GAAG,EACN,iBAAiB,EAAE,GAAG,EACtB,WAAW,EAAE,MAAM,GAAG,IAAI,sBAgB3B;AAED,wBAAgB,yBAAyB,CACvC,CAAC,EAAE,GAAG,EACN,KAAK,EAAE,GAAG,EACV,iBAAiB,EAAE,GAAG,UAoBvB;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,MAAM,WAKvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/PhoneField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AA8B1E,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,YAAiB,EACjB,QAAgB,EAChB,QAAgB,EAChB,WAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,UAAqB,EACrB,MAAiB,EACjB,WAAW,EACX,WAAW,EACX,OAAO,EACP,QAAQ,EACT,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/PhoneField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AA8B1E,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,YAAiB,EACjB,QAAgB,EAChB,QAAgB,EAChB,WAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,UAAqB,EACrB,MAAiB,EACjB,WAAW,EACX,WAAW,EACX,OAAO,EACP,QAAQ,EACT,EAAE,GAAG,oDA8XL;;AAED,wBAAgC"}
|