@tmlmobilidade/ui 20250725.239.2 → 20250725.248.36
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/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ interface NoResourceKeyOrValue {
|
|
|
32
32
|
type HasPermissionFinalProps<T> = HasPermissionProps & (NoResourceKeyOrValue | ResourceKeyAndValue<T>);
|
|
33
33
|
declare function HasPermission<T extends Record<string, unknown>>({ action, children, resource_key, scope, value }: HasPermissionFinalProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
34
34
|
|
|
35
|
-
declare function IsAuthenticated({ children }: PropsWithChildren): string | number | bigint | boolean |
|
|
35
|
+
declare function IsAuthenticated({ children }: PropsWithChildren): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
36
36
|
|
|
37
37
|
interface BackButtonProps {
|
|
38
38
|
onClick?: () => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmlmobilidade/ui",
|
|
3
3
|
"description": "UI components for Transportes Metropolitanos de Lisboa (TML) web applications.",
|
|
4
|
-
"version": "20250725.
|
|
4
|
+
"version": "20250725.248.36",
|
|
5
5
|
"author": "João de Vasconcelos & Jusi Monteiro",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"publishConfig": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@turf/turf": "7.2.0",
|
|
68
68
|
"@types/geojson": "7946.0.16",
|
|
69
69
|
"@types/luxon": "3.6.2",
|
|
70
|
-
"@types/node": "24.0
|
|
70
|
+
"@types/node": "24.1.0",
|
|
71
71
|
"@types/react": "19.1.8",
|
|
72
72
|
"@types/react-dom": "19.1.6",
|
|
73
73
|
"nodemon": "3.1.10",
|