@fluxo-dev/api-client-base 26.3.6 → 26.4.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/index.cjs.js CHANGED
@@ -2868,6 +2868,27 @@ class FluxoStateDispatcher {
2868
2868
  static dispatchSetNavigationMode(mode) {
2869
2869
  state.store.dispatch(state.setNavigationMode(mode));
2870
2870
  }
2871
+ /**
2872
+ * Imposta l'altezza della footer bar della shell (0 nei layout che non la usano),
2873
+ * così i componenti di pagina possono calcolare correttamente l'altezza disponibile.
2874
+ */
2875
+ /**
2876
+ * Imposta la variante di layout attiva, così i componenti condivisi possono
2877
+ * adattare il proprio stile (es. arrotondamenti più morbidi nel layout "modern").
2878
+ */
2879
+ static dispatchSetLayoutVariant(variant) {
2880
+ state.store.dispatch(state.setLayoutVariant(variant));
2881
+ }
2882
+ /**
2883
+ * Imposta l'altezza della app bar della shell, così i componenti di pagina
2884
+ * calcolano gli offset corretti anche nei layout con chrome più alta.
2885
+ */
2886
+ static dispatchSetAppBarHeight(height) {
2887
+ state.store.dispatch(state.setAppBarHeight(height));
2888
+ }
2889
+ static dispatchSetFooterHeight(height) {
2890
+ state.store.dispatch(state.setFooterHeight(height));
2891
+ }
2871
2892
  static dispatchSetRoutes(routes) {
2872
2893
  state.store.dispatch(state.setRoutes(routes));
2873
2894
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxo-dev/api-client-base",
3
- "version": "26.3.6",
3
+ "version": "26.4.1",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "react": "^18.3.1",
@@ -8,7 +8,7 @@
8
8
  "react-router-dom": "^6.11.2",
9
9
  "react-redux": "^8.0.5",
10
10
  "@reduxjs/toolkit": "^1.9.1",
11
- "@fluxo-dev/state": "^26.3.6"
11
+ "@fluxo-dev/state": "^26.4.0"
12
12
  },
13
13
  "main": "./index.cjs.js",
14
14
  "types": "./index.cjs.d.ts"
@@ -26,6 +26,21 @@ export declare class FluxoStateDispatcher {
26
26
  static dispatchSetCurrentFrontend(frontend: string): void;
27
27
  static dispatchSetSessionMode(mode: 'single-session' | 'multi-session'): void;
28
28
  static dispatchSetNavigationMode(mode: 'sidebar' | 'topmenu' | 'none' | 'sidebar-minimal'): void;
29
+ /**
30
+ * Imposta l'altezza della footer bar della shell (0 nei layout che non la usano),
31
+ * così i componenti di pagina possono calcolare correttamente l'altezza disponibile.
32
+ */
33
+ /**
34
+ * Imposta la variante di layout attiva, così i componenti condivisi possono
35
+ * adattare il proprio stile (es. arrotondamenti più morbidi nel layout "modern").
36
+ */
37
+ static dispatchSetLayoutVariant(variant: 'classic' | 'modern'): void;
38
+ /**
39
+ * Imposta l'altezza della app bar della shell, così i componenti di pagina
40
+ * calcolano gli offset corretti anche nei layout con chrome più alta.
41
+ */
42
+ static dispatchSetAppBarHeight(height: number): void;
43
+ static dispatchSetFooterHeight(height: number): void;
29
44
  static dispatchSetRoutes(routes: {
30
45
  [id: string]: {
31
46
  title: string | undefined;