@agregio-solutions/design-system 1.77.0 → 1.78.1
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/design-system.js
CHANGED
|
@@ -31973,25 +31973,26 @@ function XT({
|
|
|
31973
31973
|
logo: t,
|
|
31974
31974
|
onParametersClick: n,
|
|
31975
31975
|
onLogoutClick: r,
|
|
31976
|
-
|
|
31976
|
+
footerElements: a,
|
|
31977
|
+
...o
|
|
31977
31978
|
}) {
|
|
31978
|
-
const
|
|
31979
|
+
const i = Ue(JT), { isCollapsed: u, setIsCollapsed: l } = fh(), s = Wu(), d = !!n || !!r;
|
|
31979
31980
|
return /* @__PURE__ */ N(
|
|
31980
31981
|
HT,
|
|
31981
31982
|
{
|
|
31982
|
-
"data-collapsed":
|
|
31983
|
-
"data-page-layout-collapsed":
|
|
31984
|
-
...
|
|
31983
|
+
"data-collapsed": u,
|
|
31984
|
+
"data-page-layout-collapsed": s?.isCollapsed,
|
|
31985
|
+
...o,
|
|
31985
31986
|
children: [
|
|
31986
|
-
/* @__PURE__ */ N(KT, { "data-collapsed":
|
|
31987
|
-
!
|
|
31987
|
+
/* @__PURE__ */ N(KT, { "data-collapsed": u, children: [
|
|
31988
|
+
!u && /* @__PURE__ */ f(_T, { title: t, "data-type": t }),
|
|
31988
31989
|
/* @__PURE__ */ f(
|
|
31989
31990
|
dh,
|
|
31990
31991
|
{
|
|
31991
31992
|
"data-testid": "navigation-mobile-collapsed-menu",
|
|
31992
|
-
onPress: () =>
|
|
31993
|
-
"aria-label":
|
|
31994
|
-
"data-collapsed":
|
|
31993
|
+
onPress: () => l((c) => !c),
|
|
31994
|
+
"aria-label": u ? i.open : i.close,
|
|
31995
|
+
"data-collapsed": u,
|
|
31995
31996
|
children: /* @__PURE__ */ f(ge, { name: "collapse_menu" })
|
|
31996
31997
|
}
|
|
31997
31998
|
),
|
|
@@ -31999,33 +32000,34 @@ function XT({
|
|
|
31999
32000
|
zT,
|
|
32000
32001
|
{
|
|
32001
32002
|
"data-testid": "navigation-mobile-close-menu",
|
|
32002
|
-
onPress: () =>
|
|
32003
|
-
"aria-label":
|
|
32004
|
-
"data-collapsed":
|
|
32003
|
+
onPress: () => s?.setIsCollapsed((c) => !c),
|
|
32004
|
+
"aria-label": s?.isCollapsed ? i.open : i.close,
|
|
32005
|
+
"data-collapsed": s?.isCollapsed,
|
|
32005
32006
|
children: /* @__PURE__ */ f(ge, { name: "close" })
|
|
32006
32007
|
}
|
|
32007
32008
|
)
|
|
32008
32009
|
] }),
|
|
32009
32010
|
/* @__PURE__ */ f(NT, { children: e }),
|
|
32010
|
-
|
|
32011
|
-
/* @__PURE__ */ f(ZT, { "data-collapsed":
|
|
32011
|
+
d && /* @__PURE__ */ N(Pt, { children: [
|
|
32012
|
+
/* @__PURE__ */ f(ZT, { "data-collapsed": u, children: /* @__PURE__ */ f("hr", {}) }),
|
|
32012
32013
|
/* @__PURE__ */ N("footer", { children: [
|
|
32014
|
+
a,
|
|
32013
32015
|
!!n && /* @__PURE__ */ f(
|
|
32014
32016
|
rs,
|
|
32015
32017
|
{
|
|
32016
32018
|
iconLeft: "settings",
|
|
32017
|
-
label:
|
|
32019
|
+
label: i.settings,
|
|
32018
32020
|
onClick: n,
|
|
32019
|
-
"aria-label":
|
|
32021
|
+
"aria-label": i.settings
|
|
32020
32022
|
}
|
|
32021
32023
|
),
|
|
32022
32024
|
!!r && /* @__PURE__ */ f(
|
|
32023
32025
|
rs,
|
|
32024
32026
|
{
|
|
32025
32027
|
iconLeft: "logout",
|
|
32026
|
-
label:
|
|
32028
|
+
label: i.logout,
|
|
32027
32029
|
onClick: r,
|
|
32028
|
-
"aria-label":
|
|
32030
|
+
"aria-label": i.logout
|
|
32029
32031
|
}
|
|
32030
32032
|
)
|
|
32031
32033
|
] })
|
|
@@ -35,6 +35,11 @@ type Props = {
|
|
|
35
35
|
* @experimental This feature is currently experimental and may change in the future.
|
|
36
36
|
*/
|
|
37
37
|
currentPath?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The elements to display in the footer of the navigation.
|
|
40
|
+
* Ideally, should be NavigationItem components.
|
|
41
|
+
*/
|
|
42
|
+
footerElements?: React.ReactNode;
|
|
38
43
|
};
|
|
39
44
|
export default function Navigation({ initialIsCollapsed, currentPath, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
40
45
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agregio-solutions/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.78.1",
|
|
4
4
|
"description": "React Component library and Storybook that is part of the Design System for Agregio Solutions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/design-system.js",
|
|
@@ -37,47 +37,47 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@emotion/react": "^11.14.0",
|
|
39
39
|
"@emotion/styled": "^11.14.1",
|
|
40
|
-
"@eslint/compat": "^1.4.
|
|
41
|
-
"@eslint/js": "^9.
|
|
40
|
+
"@eslint/compat": "^1.4.1",
|
|
41
|
+
"@eslint/js": "^9.39.0",
|
|
42
42
|
"@mui/material": "^5.18.0",
|
|
43
43
|
"@semantic-release/gitlab": "^13.2.9",
|
|
44
|
-
"@semantic-release/npm": "^13.
|
|
45
|
-
"@storybook/addon-a11y": "^
|
|
46
|
-
"@storybook/addon-docs": "^
|
|
47
|
-
"@storybook/addon-links": "^
|
|
48
|
-
"@storybook/react-vite": "^
|
|
49
|
-
"@storybook/test-runner": "^0.
|
|
50
|
-
"@tanstack/react-query": "^5.90.
|
|
44
|
+
"@semantic-release/npm": "^13.1.1",
|
|
45
|
+
"@storybook/addon-a11y": "^10.0.2",
|
|
46
|
+
"@storybook/addon-docs": "^10.0.2",
|
|
47
|
+
"@storybook/addon-links": "^10.0.2",
|
|
48
|
+
"@storybook/react-vite": "^10.0.2",
|
|
49
|
+
"@storybook/test-runner": "^0.24.1",
|
|
50
|
+
"@tanstack/react-query": "^5.90.6",
|
|
51
51
|
"@tanstack/react-table": "^8.21.3",
|
|
52
52
|
"@types/lodash": "^4.17.20",
|
|
53
|
-
"@types/node": "^24.
|
|
53
|
+
"@types/node": "^24.10.0",
|
|
54
54
|
"@types/react": "19.2.2",
|
|
55
55
|
"@types/react-dom": "19.2.2",
|
|
56
|
-
"@vitejs/plugin-react": "^5.0
|
|
57
|
-
"chromatic": "^13.3.
|
|
56
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
57
|
+
"chromatic": "^13.3.3",
|
|
58
58
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
59
59
|
"eslint-config-prettier": "^10.1.8",
|
|
60
60
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
61
61
|
"eslint-plugin-react": "^7.37.5",
|
|
62
|
-
"eslint-plugin-react-hooks": "^7.0.
|
|
63
|
-
"eslint-plugin-storybook": "^
|
|
62
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
63
|
+
"eslint-plugin-storybook": "^10.0.3",
|
|
64
64
|
"http-server": "^14.1.1",
|
|
65
65
|
"husky": "^9.1.7",
|
|
66
66
|
"jest": "^30.2.0",
|
|
67
|
-
"lint-staged": "^16.2.
|
|
67
|
+
"lint-staged": "^16.2.6",
|
|
68
68
|
"lodash": "^4.17.21",
|
|
69
69
|
"mockdate": "^3.0.5",
|
|
70
70
|
"prettier": "^3.6.2",
|
|
71
71
|
"react": "^19.2.0",
|
|
72
72
|
"react-dom": "^19.2.0",
|
|
73
|
-
"react-hook-form": "^7.
|
|
74
|
-
"react-router-dom": "^7.9.
|
|
73
|
+
"react-hook-form": "^7.66.0",
|
|
74
|
+
"react-router-dom": "^7.9.5",
|
|
75
75
|
"recharts": "^3.3.0",
|
|
76
76
|
"remark-gfm": "^4.0.1",
|
|
77
|
-
"semantic-release": "^25.0.
|
|
77
|
+
"semantic-release": "^25.0.1",
|
|
78
78
|
"start-server-and-test": "^2.1.2",
|
|
79
|
-
"storybook": "^
|
|
80
|
-
"typescript-eslint": "^8.46.
|
|
79
|
+
"storybook": "^10.0.3",
|
|
80
|
+
"typescript-eslint": "^8.46.2",
|
|
81
81
|
"vite-plugin-dts": "^4.5.4",
|
|
82
82
|
"vitest": "^3.2.4"
|
|
83
83
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"react-aria-components": "^1.13.0",
|
|
89
89
|
"sonner": "^2.0.7",
|
|
90
90
|
"styled-components": "^6.1.19",
|
|
91
|
-
"vite": "^7.1.
|
|
91
|
+
"vite": "^7.1.12",
|
|
92
92
|
"vite-tsconfig-paths": "^5.1.4"
|
|
93
93
|
},
|
|
94
94
|
"overrides": {
|