upconta.frontend-utils 3.0.9 → 3.0.10
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/cjs/components/Seeker.d.ts +1 -1
- package/.dist/cjs/index.js +1 -1
- package/.dist/cjs/index.js.map +1 -1
- package/.dist/cjs/libs/hooks/useKeyboardShortcuts.d.ts +1 -1
- package/.dist/cjs/libs/hooks/vista-insertar.d.ts +2 -2
- package/.dist/esm/index.js +1 -1
- package/.dist/esm/index.js.map +1 -1
- package/Readme.md +10 -9
- package/package.json +23 -23
package/Readme.md
CHANGED
|
@@ -38,6 +38,10 @@ NEXT_PUBLIC_RESTIFY_OPEN=https://api-test.upconta.com
|
|
|
38
38
|
NEXT_PUBLIC_UTILS=https://utils.upconta.com
|
|
39
39
|
NEXT_PUBLIC_UTILS_OPEN=https://utils.upconta.com
|
|
40
40
|
NEXT_PUBLIC_DOMINIO='upconta.com'
|
|
41
|
+
NEXT_PUBLIC_USER_TOKEN_NAME=test_rijwb
|
|
42
|
+
NEXT_PUBLIC_ADMIN_TOKEN_NAME=
|
|
43
|
+
NEXT_PUBLIC_COOKIE_DOMINIO=.upconta.com
|
|
44
|
+
NEXT_PUBLIC_COOKIE_PATH=/
|
|
41
45
|
```
|
|
42
46
|
|
|
43
47
|
## Estilos de UpConta
|
|
@@ -47,7 +51,7 @@ Las siguientes son un conjunto de configuraciones para que los proyectos que uti
|
|
|
47
51
|
Se debe agregar el `margin: 0` al body del proyecto:
|
|
48
52
|
|
|
49
53
|
```tsx
|
|
50
|
-
import { Html, Head, Main, NextScript } from
|
|
54
|
+
import { Html, Head, Main, NextScript } from 'next/document'
|
|
51
55
|
|
|
52
56
|
export default function Document() {
|
|
53
57
|
return (
|
|
@@ -58,24 +62,21 @@ export default function Document() {
|
|
|
58
62
|
<NextScript />
|
|
59
63
|
</body>
|
|
60
64
|
</Html>
|
|
61
|
-
)
|
|
65
|
+
)
|
|
62
66
|
}
|
|
63
|
-
|
|
64
67
|
```
|
|
65
68
|
|
|
66
69
|
El estilo principal de UpConta y las configuraciones para Ant Design se encuentran dentro del componente `TemaPrincipal` y debe utilizarse de la siguiente manera
|
|
67
70
|
|
|
68
|
-
|
|
69
71
|
```tsx
|
|
70
72
|
// _app.tsx
|
|
71
|
-
import { TemaPrincipal } from
|
|
73
|
+
import { TemaPrincipal } from 'upconta.frontend-utils'
|
|
72
74
|
|
|
73
75
|
export default function App({ Component, pageProps }: AppProps) {
|
|
74
76
|
return (
|
|
75
77
|
<TemaPrincipal>
|
|
76
|
-
<Component {...pageProps}
|
|
77
|
-
<Button>Primary Button</Button>
|
|
78
|
+
<Component {...pageProps} />;<Button>Primary Button</Button>
|
|
78
79
|
</TemaPrincipal>
|
|
79
|
-
)
|
|
80
|
+
)
|
|
80
81
|
}
|
|
81
|
-
```
|
|
82
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upconta.frontend-utils",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": ".dist/cjs/index.js",
|
|
6
6
|
"module": ".dist/esm/index.js",
|
|
@@ -9,45 +9,45 @@
|
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@ant-design/cssinjs": "^2.
|
|
13
|
-
"@ant-design/icons": "^6.
|
|
14
|
-
"@next/eslint-plugin-next": "^16.0
|
|
12
|
+
"@ant-design/cssinjs": "^2.1.2",
|
|
13
|
+
"@ant-design/icons": "^6.3.2",
|
|
14
|
+
"@next/eslint-plugin-next": "^16.3.0",
|
|
15
15
|
"@rollup/plugin-commonjs": "^26.0.3",
|
|
16
16
|
"@rollup/plugin-json": "^6.1.0",
|
|
17
17
|
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
18
18
|
"@rollup/plugin-terser": "^0.4.4",
|
|
19
19
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
20
|
-
"@tailwindcss/postcss": "^4.
|
|
20
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
21
21
|
"@testing-library/dom": "^10.4.1",
|
|
22
22
|
"@testing-library/jest-dom": "^6.9.1",
|
|
23
|
-
"@testing-library/react": "^16.3.
|
|
23
|
+
"@testing-library/react": "^16.3.2",
|
|
24
24
|
"@types/jest": "^30.0.0",
|
|
25
25
|
"@types/node": "24.10.1",
|
|
26
|
-
"@types/react": "^19.2.
|
|
27
|
-
"antd": "^6.0
|
|
28
|
-
"axios": "^1.
|
|
26
|
+
"@types/react": "^19.2.18",
|
|
27
|
+
"antd": "^6.6.0",
|
|
28
|
+
"axios": "^1.19.0",
|
|
29
29
|
"cookies-next": "^6.1.1",
|
|
30
|
-
"dayjs": "^1.11.
|
|
31
|
-
"eslint": "^9.39.
|
|
32
|
-
"eslint-config-next": "^16.0
|
|
30
|
+
"dayjs": "^1.11.21",
|
|
31
|
+
"eslint": "^9.39.5",
|
|
32
|
+
"eslint-config-next": "^16.3.0",
|
|
33
33
|
"globals": "^16.5.0",
|
|
34
|
-
"jest": "^30.2
|
|
35
|
-
"jest-environment-jsdom": "^30.
|
|
36
|
-
"next": "^16.0
|
|
37
|
-
"postcss": "^8.5.
|
|
34
|
+
"jest": "^30.4.2",
|
|
35
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
36
|
+
"next": "^16.3.0",
|
|
37
|
+
"postcss": "^8.5.26",
|
|
38
38
|
"rc-field-form": "^2.7.1",
|
|
39
|
-
"react": "^19.2.
|
|
40
|
-
"react-dom": "^19.2.
|
|
41
|
-
"rollup": "^4.
|
|
39
|
+
"react": "^19.2.8",
|
|
40
|
+
"react-dom": "^19.2.8",
|
|
41
|
+
"rollup": "^4.62.4",
|
|
42
42
|
"rollup-plugin-copy": "^3.5.0",
|
|
43
43
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
44
44
|
"rollup-plugin-postcss": "^4.0.2",
|
|
45
|
-
"swr": "^2.
|
|
46
|
-
"tailwindcss": "^4.
|
|
47
|
-
"ts-jest": "^29.4.
|
|
45
|
+
"swr": "^2.5.0",
|
|
46
|
+
"tailwindcss": "^4.3.3",
|
|
47
|
+
"ts-jest": "^29.4.12",
|
|
48
48
|
"tslib": "^2.8.1",
|
|
49
49
|
"typescript": "^5.9.3",
|
|
50
|
-
"use-debounce": "^10.
|
|
50
|
+
"use-debounce": "^10.1.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@ant-design/cssinjs": "^1 || ^2",
|