infinity-forge 0.52.6 → 0.52.8

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.
Files changed (55) hide show
  1. package/dist/sites/services/api.js +2 -2
  2. package/dist/sites/services/api.js.map +1 -1
  3. package/dist/system/presentation/context/container.js +2 -1
  4. package/dist/system/presentation/context/container.js.map +1 -1
  5. package/dist/ui/components/form/input-cep/component.d.ts +2 -0
  6. package/dist/ui/components/form/input-cep/component.js +33 -0
  7. package/dist/ui/components/form/input-cep/component.js.map +1 -0
  8. package/dist/ui/components/form/input-cep/index.d.ts +3 -10
  9. package/dist/ui/components/form/input-cep/index.js +16 -31
  10. package/dist/ui/components/form/input-cep/index.js.map +1 -1
  11. package/dist/ui/components/form/input-cep/interfaces.d.ts +12 -0
  12. package/dist/ui/components/form/input-cep/interfaces.js.map +1 -0
  13. package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +4 -14
  14. package/dist/ui/components/form/input-cep/use-cep/hook.js +1 -1
  15. package/dist/ui/components/form/input-cep/use-cep/hook.js.map +1 -1
  16. package/dist/ui/components/form/input-cep/use-cep/index.d.ts +0 -1
  17. package/dist/ui/components/form/input-cep/use-cep/index.js +0 -1
  18. package/dist/ui/components/form/input-cep/use-cep/index.js.map +1 -1
  19. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +4 -13
  20. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +28 -18
  21. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js.map +1 -1
  22. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/interfaces.d.ts +2 -3
  23. package/dist/ui/components/form/input-mask/index.js +5 -3
  24. package/dist/ui/components/form/input-mask/index.js.map +1 -1
  25. package/dist/ui/components/form/input-mask/lib/core/hooks/useConnectedInputRef.d.ts +0 -5
  26. package/dist/ui/components/form/input-mask/lib/core/hooks/useConnectedInputRef.js +0 -5
  27. package/dist/ui/components/form/input-mask/lib/core/hooks/useConnectedInputRef.js.map +1 -1
  28. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +0 -25
  29. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js.map +1 -1
  30. package/dist/ui/components/form/input-mask/lib/mask/useMask.js +1 -33
  31. package/dist/ui/components/form/input-mask/lib/mask/useMask.js.map +1 -1
  32. package/dist/ui/hooks/index.d.ts +1 -0
  33. package/dist/ui/hooks/index.js +1 -0
  34. package/dist/ui/hooks/index.js.map +1 -1
  35. package/dist/ui/hooks/use-query/context.d.ts +6 -0
  36. package/dist/ui/hooks/use-query/context.js +36 -0
  37. package/dist/ui/hooks/use-query/context.js.map +1 -0
  38. package/dist/ui/hooks/use-query/hook.d.ts +5 -0
  39. package/dist/ui/hooks/use-query/hook.js +132 -0
  40. package/dist/ui/hooks/use-query/hook.js.map +1 -0
  41. package/dist/ui/hooks/use-query/index.d.ts +4 -0
  42. package/dist/ui/hooks/use-query/index.js +21 -0
  43. package/dist/ui/hooks/use-query/index.js.map +1 -0
  44. package/dist/ui/hooks/use-query/interfaces.d.ts +23 -0
  45. package/dist/ui/hooks/use-query/interfaces.js +3 -0
  46. package/dist/ui/hooks/use-query/interfaces.js.map +1 -0
  47. package/dist/ui/hooks/use-query/store.d.ts +2 -0
  48. package/dist/ui/hooks/use-query/store.js +32 -0
  49. package/dist/ui/hooks/use-query/store.js.map +1 -0
  50. package/dist/ui/utils/format/remove-digits.js +2 -1
  51. package/dist/ui/utils/format/remove-digits.js.map +1 -1
  52. package/package.json +88 -87
  53. package/dist/ui/components/form/input-cep/use-cep/interfaces.d.ts +0 -7
  54. package/dist/ui/components/form/input-cep/use-cep/interfaces.js.map +0 -1
  55. /package/dist/ui/components/form/input-cep/{use-cep/interfaces.js → interfaces.js} +0 -0
package/package.json CHANGED
@@ -1,87 +1,88 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "0.52.6",
4
- "description": "codie Library",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3050",
14
- "deploy": "npm version patch && npm publish",
15
- "start": "next start -p 3015",
16
- "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
17
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
18
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
19
- "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
20
- },
21
- "peerDependencies": {
22
- "react": ">=16"
23
- },
24
- "files": [
25
- "dist",
26
- "LICENSE",
27
- "README.md"
28
- ],
29
- "keywords": [
30
- "react",
31
- "typescript",
32
- "awesome-project"
33
- ],
34
- "author": "Codie Digital",
35
- "license": "MIT",
36
- "devDependencies": {
37
- "@types/node": "^20.12.12",
38
- "@types/react": "^18.2.0",
39
- "@types/react-date-range": "^1.4.9",
40
- "@types/react-datepicker": "^6.2.0",
41
- "@types/react-dom": "^18.2.0",
42
- "@types/styled-components": "^5.1.34",
43
- "concurrently": "^8.2.2",
44
- "copyfiles": "^2.4.1",
45
- "cpx": "^1.5.0",
46
- "cssnano": "^7.0.1",
47
- "postcss-cli": "^11.0.0",
48
- "tsc-alias": "^1.8.10",
49
- "tslib": "^2.6.2"
50
- },
51
- "dependencies": {
52
- "@ckeditor/ckeditor5-react": "^7.0.0",
53
- "@types/react-slick": "^0.23.13",
54
- "axios": "^1.7.2",
55
- "chroma-js": "^2.4.2",
56
- "ckeditor5-custom-build": "^0.0.6",
57
- "date-fns": "^3.6.0",
58
- "exenv": "^1.2.2",
59
- "formik": "^2.4.6",
60
- "framer-motion": "^11.2.6",
61
- "fs": "0.0.1-security",
62
- "fs-extra": "^11.2.0",
63
- "inversify": "^6.0.2",
64
- "moment": "^2.30.1",
65
- "next": "^14.2.3",
66
- "postcss": "^8.4.38",
67
- "prop-types": "^15.8.1",
68
- "react": "^18.2.0",
69
- "react-currency-input-field": "^3.8.0",
70
- "react-date-range": "^2.0.1",
71
- "react-datepicker": "^6.9.0",
72
- "react-dom": "^18.2.0",
73
- "react-error-boundary": "^4.0.13",
74
- "react-ga": "^3.3.1",
75
- "react-lifecycles-compat": "^3.0.4",
76
- "react-select": "^5.8.0",
77
- "react-share": "^5.1.0",
78
- "react-slick": "^0.30.2",
79
- "react-tooltip": "^5.26.4",
80
- "reflect-metadata": "^0.2.2",
81
- "sharp": "^0.33.4",
82
- "styled-components": "^6.1.11",
83
- "swr": "^2.2.5",
84
- "typescript": "^5.4.5",
85
- "yup": "^1.4.0"
86
- }
87
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "0.52.8",
4
+ "description": "codie Library",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3050",
14
+ "deploy": "npm version patch && npm publish",
15
+ "start": "next start -p 3015",
16
+ "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
17
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
18
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
19
+ "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
20
+ },
21
+ "peerDependencies": {
22
+ "react": ">=16"
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "LICENSE",
27
+ "README.md"
28
+ ],
29
+ "keywords": [
30
+ "react",
31
+ "typescript",
32
+ "awesome-project"
33
+ ],
34
+ "author": "Codie Digital",
35
+ "license": "MIT",
36
+ "devDependencies": {
37
+ "@types/node": "^20.12.12",
38
+ "@types/react": "^18.2.0",
39
+ "@types/react-date-range": "^1.4.9",
40
+ "@types/react-datepicker": "^6.2.0",
41
+ "@types/react-dom": "^18.2.0",
42
+ "@types/styled-components": "^5.1.34",
43
+ "concurrently": "^8.2.2",
44
+ "copyfiles": "^2.4.1",
45
+ "cpx": "^1.5.0",
46
+ "cssnano": "^7.0.1",
47
+ "postcss-cli": "^11.0.0",
48
+ "tsc-alias": "^1.8.10",
49
+ "tslib": "^2.6.2"
50
+ },
51
+ "dependencies": {
52
+ "@ckeditor/ckeditor5-react": "^7.0.0",
53
+ "@types/react-slick": "^0.23.13",
54
+ "axios": "^1.7.2",
55
+ "chroma-js": "^2.4.2",
56
+ "ckeditor5-custom-build": "^0.0.6",
57
+ "date-fns": "^3.6.0",
58
+ "exenv": "^1.2.2",
59
+ "formik": "^2.4.6",
60
+ "framer-motion": "^11.2.6",
61
+ "fs": "0.0.1-security",
62
+ "fs-extra": "^11.2.0",
63
+ "inversify": "^6.0.2",
64
+ "moment": "^2.30.1",
65
+ "next": "^14.2.3",
66
+ "postcss": "^8.4.38",
67
+ "prop-types": "^15.8.1",
68
+ "react": "^18.2.0",
69
+ "react-currency-input-field": "^3.8.0",
70
+ "react-date-range": "^2.0.1",
71
+ "react-datepicker": "^6.9.0",
72
+ "react-dom": "^18.2.0",
73
+ "react-error-boundary": "^4.0.13",
74
+ "react-ga": "^3.3.1",
75
+ "react-lifecycles-compat": "^3.0.4",
76
+ "react-select": "^5.8.0",
77
+ "react-share": "^5.1.0",
78
+ "react-slick": "^0.30.2",
79
+ "react-tooltip": "^5.26.4",
80
+ "reflect-metadata": "^0.2.2",
81
+ "sharp": "^0.33.4",
82
+ "styled-components": "^6.1.11",
83
+ "swr": "^2.2.5",
84
+ "typescript": "^5.4.5",
85
+ "yup": "^1.4.0",
86
+ "zustand": "^4.5.2"
87
+ }
88
+ }
@@ -1,7 +0,0 @@
1
- import { FormikErrors } from "formik";
2
- export type ProviderCepProps = {
3
- zipCode: string;
4
- setFieldError: (field: string, message: string) => void;
5
- setFieldValue: (field: string, value: any, shouldValidate?: boolean) => Promise<void | FormikErrors<any>>;
6
- };
7
- export type ProvidersCep = 'ibge' | "correios";
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-cep/use-cep/interfaces.ts"],"names":[],"mappings":""}