@abyss-project/commons-front-core 13.0.1 → 13.1.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.
Files changed (41) hide show
  1. package/dist/{AbyssCookieConsentProvider-D5jeL5KA.js → AbyssCookieConsentProvider-DJTKl58k.js} +142 -138
  2. package/dist/{CookieConsentSettings.component-C69wpa-v.js → CookieConsentSettings.component-ZF6umBSH.js} +1 -1
  3. package/dist/{Tabs-CwVEV4SO.js → Tabs-CYy30PTc.js} +308 -308
  4. package/dist/assets/logo/index.d.ts +1 -0
  5. package/dist/auth/components/RequireSession/RequireSession.component.d.ts +3 -2
  6. package/dist/auth/components/SessionBoundary/AbyssSessionBoundary.component.d.ts +3 -2
  7. package/dist/auth/components/SessionErrorScreen/SessionErrorScreen.component.d.ts +3 -3
  8. package/dist/components/layers/ProductTour/product-tour-geometry.d.ts +6 -3
  9. package/dist/cookie-consent.js +2 -2
  10. package/dist/{design-theme-DkGGYH91.js → design-theme-jAV6pBoh.js} +1476 -1471
  11. package/dist/{editors-DkiY6BfJ.js → editors-Cs01hAfK.js} +26 -26
  12. package/dist/editors.js +1 -1
  13. package/dist/hooks/use-rich-intl.hook.d.ts +12 -0
  14. package/dist/hooks/use-service-tour.hook.d.ts +6 -5
  15. package/dist/{index-DVsMyd7m.js → index-B4BTrYji.js} +2 -2
  16. package/dist/{index-B52OKB4p.js → index-BB97MmlB.js} +3 -3
  17. package/dist/{index-BoCgQirm.js → index-BG_7wul8.js} +2 -2
  18. package/dist/{index-CgIjHnfl.js → index-BJ-WRVfA.js} +2 -2
  19. package/dist/{index-DW0z3W_H.js → index-BLWFMNK1.js} +1 -1
  20. package/dist/{index-PHSTFO70.js → index-BOB-FVdo.js} +3 -3
  21. package/dist/{index-CXGI5k75.js → index-BQ-RHsS9.js} +4 -4
  22. package/dist/{index-Cl1BSx17.js → index-BSpED9Jn.js} +2 -2
  23. package/dist/{index-CtMx42h6.js → index-BYymsRFa.js} +2 -2
  24. package/dist/{index-DMiPquK5.js → index-Bw9dFzxv.js} +2 -2
  25. package/dist/{index-orVFXDIv.js → index-BxEgyF6L.js} +3 -3
  26. package/dist/{index-Bh7buNbj.js → index-C64fovtn.js} +2 -2
  27. package/dist/{index-Cg6Mv7QT.js → index-C918Bygt.js} +2 -2
  28. package/dist/{index-DSjH42Mo.js → index-CHGLrOHZ.js} +3 -3
  29. package/dist/{index-CwdirjZn.js → index-CQIcz4k-.js} +2 -2
  30. package/dist/{index-CvRSR1eE.js → index-CQhfq-e2.js} +2 -2
  31. package/dist/{index-DmCRAN1O.js → index-CWzTvLyx.js} +2 -2
  32. package/dist/{index-D1YeCKtd.js → index-Ce0hJGR7.js} +4 -4
  33. package/dist/{index-2l12Iu8k.js → index-CgdrkQAf.js} +2 -2
  34. package/dist/{index-BacMl_If.js → index-DfzHovEF.js} +2 -2
  35. package/dist/{index-KH3KmoUw.js → index-YnJVcsc6.js} +4 -4
  36. package/dist/index.js +2930 -2885
  37. package/dist/legacy.js +622 -617
  38. package/dist/theme/tokens/domain.d.ts +1 -0
  39. package/dist/translations/en.d.ts +2 -0
  40. package/dist/translations/fr.d.ts +2 -0
  41. package/package.json +3 -3
@@ -19,4 +19,5 @@ export { default as AbyssProbeLogo } from './AbyssProbe.svg';
19
19
  export { default as AbyssWorkspace } from './AbyssWorkspace.svg';
20
20
  export { default as AbyssLink } from './AbyssLink.svg';
21
21
  export { default as AbyssFlow } from './AbyssFlow.svg';
22
+ export { default as AbyssReflex } from './AbyssReflex.svg';
22
23
  export { default as AbyssPlatform } from '../logo_abyss_flat.svg';
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { AbyssService } from '@abyss-project/main';
2
+ import { ActivatableService } from '@abyss-project/main';
3
3
  export type RequireSessionProps = {
4
- service: AbyssService;
4
+ /** The satellite's service, or a game (Odyssey) that opens its session the same way. */
5
+ service: ActivatableService;
5
6
  /** abyss-main's web origin (`VITE_ABYSS_URL`). */
6
7
  abyssSite: string;
7
8
  children: ReactNode;
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { AbyssService, IUser } from '@abyss-project/main';
2
+ import { ActivatableService, IUser } from '@abyss-project/main';
3
3
  export type AbyssSessionBoundaryProps = {
4
- service: AbyssService;
4
+ /** The satellite's service, or a game (Odyssey) that opens its session the same way. */
5
+ service: ActivatableService;
5
6
  /** abyss-main's web origin (`VITE_ABYSS_URL`). */
6
7
  abyssSite: string;
7
8
  /**
@@ -1,4 +1,4 @@
1
- import { AbyssService } from '@abyss-project/main';
1
+ import { ActivatableService } from '@abyss-project/main';
2
2
  /** Why a web satellite stops on this screen instead of redirecting (D8). */
3
3
  export declare enum SessionErrorReason {
4
4
  /** Back from abyss-main's login page still signed out, less than 5 min after leaving for it. */
@@ -10,8 +10,8 @@ export declare enum SessionErrorReason {
10
10
  }
11
11
  export type SessionErrorScreenProps = {
12
12
  reason: SessionErrorReason;
13
- /** The satellite: its name is said when it could not be opened. */
14
- service: AbyssService;
13
+ /** The satellite, or a game: its name is said when it could not be opened. */
14
+ service: ActivatableService;
15
15
  /** **Try again**, always offered. */
16
16
  onRetry: () => void;
17
17
  /** **Sign in**, offered when given. */
@@ -53,7 +53,10 @@ export declare const TOUR_TARGET_ATTRIBUTE = "data-tour";
53
53
  */
54
54
  export declare const findTourTarget: (target: string, root?: ParentNode) => HTMLElement | null;
55
55
  /**
56
- * How far the page must scroll (positive: down) so that `target` fits between the top of the
57
- * viewport and the top edge of the bottom sheet. A target taller than that room shows its top.
56
+ * How far the page must scroll (positive: down) so that `target` fits between `topMargin` px
57
+ * below the top of the viewport (the target's `scroll-margin-top`, which keeps it clear of a
58
+ * sticky top bar, as `scrollIntoView` does on a wide screen) and the top edge of the bottom sheet,
59
+ * `clearance` px short of that edge (the margin of the cut-out and its ring, so the ring is not
60
+ * cut by the sheet). A target taller than that room shows its top.
58
61
  */
59
- export declare const sheetScrollOffset: (target: DOMRect, sheetTop: number, viewportHeight: number) => number;
62
+ export declare const sheetScrollOffset: (target: DOMRect, sheetTop: number, viewportHeight: number, clearance: number, topMargin?: number) => number;
@@ -1,5 +1,5 @@
1
- import { A as e, c as a, C as n, D as C, R as i, V as t, d as r, f as A, r as k, e as c, u as l, b, a as f, w as u } from "./AbyssCookieConsentProvider-D5jeL5KA.js";
2
- import { C as E } from "./CookieConsentSettings.component-C69wpa-v.js";
1
+ import { A as e, c as a, C as n, D as C, R as i, V as t, d as r, f as A, r as k, e as c, u as l, b, a as f, w as u } from "./AbyssCookieConsentProvider-DJTKl58k.js";
2
+ import { C as E } from "./CookieConsentSettings.component-ZF6umBSH.js";
3
3
  export {
4
4
  e as AbyssCookieConsentProvider,
5
5
  a as COOKIE_NAME,