@abyss-project/commons-front-core 7.0.0 → 8.0.0

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 (64) hide show
  1. package/README.md +24 -0
  2. package/catalog/playwright.ci.config.ts +29 -0
  3. package/catalog/vite.config.ts +6 -1
  4. package/dist/{AbyssModal.component-Be9980v8.js → AbyssCookieConsentProvider-BhSzVu8P.js} +2393 -2142
  5. package/dist/CookieConsentSettings.component-DMEAuCVS.js +77 -0
  6. package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +39 -0
  7. package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.spec.d.ts +1 -0
  8. package/dist/auth/components/AuthHeroLayout/auth-hero.context.d.ts +11 -0
  9. package/dist/auth/components/index.d.ts +3 -0
  10. package/dist/auth/components/shared/OneTimeCodeField.component.d.ts +6 -2
  11. package/dist/auth/components/shared/OneTimeCodeField.component.spec.d.ts +1 -0
  12. package/dist/auth/components/test-support/own-css.d.ts +5 -0
  13. package/dist/components/layers/Toast/Toast.d.ts +1 -1
  14. package/dist/components/structure/AppShell/AppShell.d.ts +1 -1
  15. package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -1
  16. package/dist/cookie-consent.js +17 -16
  17. package/dist/{design-theme-BSrfO5Lg.js → design-theme-CvLzOz3p.js} +3469 -3262
  18. package/dist/fonts.css +1 -1
  19. package/dist/hooks/use-rich-intl.hook.d.ts +36 -0
  20. package/dist/{index-DEAXSgTl.js → index-21vSFz6u.js} +2 -2
  21. package/dist/{index-BLlNcpG3.js → index-6KdfKdSJ.js} +2 -2
  22. package/dist/{index-C_Sk7zwR.js → index-7HAvRXgu.js} +2 -2
  23. package/dist/{index-MZi-_cYy.js → index-ASLTmD1Y.js} +2 -2
  24. package/dist/{index-BzCSI9XW.js → index-BTjzj7mm.js} +2 -2
  25. package/dist/{index-A5kt29MO.js → index-BVS73U9E.js} +4 -4
  26. package/dist/{index-Do1fJzj3.js → index-BkfBpYKR.js} +3 -3
  27. package/dist/{index-CHSMfNLS.js → index-BqIg55B3.js} +4 -4
  28. package/dist/{index-CqYmPMRC.js → index-Btnmn1iK.js} +4 -4
  29. package/dist/{index-DwH67Kcz.js → index-BtsnuEJC.js} +25265 -23537
  30. package/dist/{index-CfGWl_3N.js → index-C92C_oG5.js} +2 -2
  31. package/dist/{index-CQtuGy2v.js → index-CHGRiRCe.js} +3 -3
  32. package/dist/{index-Ds5uSeS4.js → index-ClLoBnCN.js} +2 -2
  33. package/dist/{index-WQz3nM40.js → index-D4Qh2Iww.js} +3 -3
  34. package/dist/{index-BuzeZTOG.js → index-D5e4uD4k.js} +2 -2
  35. package/dist/{index-Cnpf4y1o.js → index-D_GWBYM2.js} +1 -1
  36. package/dist/{index-Dj8ju3uH.js → index-DixNft1u.js} +2 -2
  37. package/dist/{index-Bkf4H0Hz.js → index-GoHiFeaw.js} +2 -2
  38. package/dist/{index-BaELetix.js → index-LdiTmDFg.js} +2 -2
  39. package/dist/{index-DTPUe23x.js → index-Ni4BmFs4.js} +2 -2
  40. package/dist/{index-CrrfwI5H.js → index-bR-mnNUA.js} +2 -2
  41. package/dist/{index-l4rCdiSM.js → index-l7FAjaVB.js} +3 -3
  42. package/dist/index.d.ts +1 -0
  43. package/dist/index.js +2610 -2232
  44. package/dist/legacy/components/CookieConsent/AbyssCookieConsentProvider.d.ts +5 -0
  45. package/dist/legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts +1 -0
  46. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +1 -0
  47. package/dist/legacy/fonts.css +1 -1
  48. package/dist/legacy.js +206 -205
  49. package/dist/rum/AbyssRumProvider.d.ts +29 -0
  50. package/dist/rum/AbyssRumProvider.spec.d.ts +1 -0
  51. package/dist/rum/feedback-ticket.d.ts +24 -0
  52. package/dist/rum/index.d.ts +2 -0
  53. package/dist/theme/augmentation.d.ts +1 -1
  54. package/dist/theme/components/shared.d.ts +1 -1
  55. package/dist/theme/create-abyss-theme.d.ts +1 -1
  56. package/dist/theme/design-theme.d.ts +1 -1
  57. package/dist/theme/tokens/oklch.d.ts +1 -1
  58. package/dist/theme/tokens/soft.d.ts +1 -1
  59. package/dist/translations/en.d.ts +14 -0
  60. package/dist/translations/fr.d.ts +14 -0
  61. package/package.json +10 -5
  62. package/vite.config.ts +1 -1
  63. package/dist/CookieConsentSettings.component-CE2qOlyC.js +0 -299
  64. package/test-results/catalog/.last-run.json +0 -4
@@ -1,6 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { UseCookieConsent } from '../../../hooks/use-cookie-consent.hook';
3
3
  export declare const useAbyssCookieConsent: () => UseCookieConsent;
4
+ /**
5
+ * The consent of the closest `<AbyssCookieConsentProvider>`, `null` outside one: for a consumer
6
+ * that must work without the provider (`AbyssRumProvider` then reads every category as refused).
7
+ */
8
+ export declare const useOptionalAbyssCookieConsent: () => UseCookieConsent | null;
4
9
  export interface AbyssCookieConsentProviderProps {
5
10
  children: React.ReactNode;
6
11
  consentVersion: string;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Lexend, self-hosted for the legacy typography (ADR-0166 §2): an app imports
2
+ * Lexend, self-hosted for the legacy typography (ADR-0174 §2): an app imports
3
3
  * `@abyss-project/commons-front-core/legacy/fonts.css` once at its entry point in place of the
4
4
  * Google Fonts link. The variable font registers the family "Lexend Variable", listed first in the
5
5
  * legacy `fontFamily`.
package/dist/legacy.js CHANGED
@@ -1,210 +1,211 @@
1
- import { bn as e, aE as o, aF as t, R as r, M as i, Q as b, aO as n, Z as A, aI as l, $ as C, a6 as S, aB as p, ac as u, ad as c, aQ as y, b0 as d, a$ as g, aJ as T, aC as P, aY as I, aZ as _, aV as h, ay as L, Y as E, ae as m, a_ as O, aW as R, af as D, bp as f, _ as k, bs as B, by as M, ap as v, aH as F, al as N, ak as W, bm as x, bk as U, bl as w, aD as Q, aG as H, aX as G, V, a5 as Y, a4 as j, bW as z, bt as X, bZ as K, ag as Z, ai as q, ah as J, aa as $, a9 as aa, a8 as sa, c4 as ea, at as oa, aS as ta, aR as ra, aw as ia, ax as ba, ab as na, aj as Aa, b_ as la, c1 as Ca, bX as Sa, bY as pa, aT as ua, aL as ca, X as ya, ar as da, aq as ga, av as Ta, a0 as Pa, aU as Ia, au as _a, O as ha, c0 as La, bV as Ea, bq as ma, br as Oa, K as Ra, W as Da, an as fa, ao as ka, a1 as Ba, am as Ma, aM as va, bE as Fa, bz as Na, bD as Wa, bv as xa, b8 as Ua, b9 as wa, ba as Qa, bd as Ha, bi as Ga, bg as Va, b7 as Ya, b6 as ja, b3 as za, bb as Xa, b2 as Ka, b5 as Za, bj as qa, bc as Ja, b4 as $a, bh as as, U as ss, S as es, aK as os, aN as ts, aP as rs, a2 as is, a3 as bs, bR as ns, b1 as As, bw as ls, bH as Cs, aA as Ss, bJ as ps, bA as us, bT as cs, bN as ys, bL as ds, bM as gs, bf as Ts, be as Ps, c3 as Is, c2 as _s, as as hs, b$ as Ls, bF as Es, bo as ms, bO as Os, bx as Rs, bB as Ds, bu as fs, bU as ks, bK as Bs, bG as Ms, bQ as vs, bC as Fs, bS as Ns, bI as Ws, bP as xs, az as Us, a7 as ws, c5 as Qs } from "./index-DwH67Kcz.js";
2
- import { A as Gs, C as Vs, a as Ys, u as js } from "./CookieConsentSettings.component-CE2qOlyC.js";
3
- import { A as Xs, C as Ks, D as Zs, R as qs, V as Js, p as $s, S as ae, G as se, c as ee, H as oe, I as te, E as re, F as ie, x as be, z as ne, f as Ae, K as le, L as Ce, U as Se, W as pe, O as ue, P as ce, X as ye, Y as de, v as ge, n as Te, l as Pe, y as Ie, B as _e, o as he, q as Le, r as Ee, a as me, s as Oe, M as Re, N as De, T as fe, J as ke, Q as Be, u as Me, w as ve } from "./AbyssModal.component-Be9980v8.js";
4
- import { v as Ne, q as We, C as xe, E as Ue, I as we, P as Qe, ay as He, W as Ge, az as Ve, aA as Ye, ax as je } from "./design-theme-BSrfO5Lg.js";
1
+ import { aE as e, aF as o, R as t, M as r, Q as i, aO as b, Z as n, aI as A, $ as C, a6 as l, aB as S, ac as p, ad as u, aQ as y, b0 as c, a$ as d, aJ as g, aC as T, aY as P, aZ as I, aV as _, ay as h, Y as L, ae as E, a_ as m, aW as O, af as R, bk as D, _ as f, bn as k, bt as B, ap as M, aH as v, al as F, ak as N, aD as W, aG as x, aX as U, V as w, a5 as Q, a4 as G, bQ as H, bo as V, bT as Y, ag as j, ai as z, ah as X, aa as K, a9 as Z, a8 as $, b_ as q, at as J, aS as aa, aR as sa, aw as ea, ax as oa, ab as ta, aj as ra, bU as ia, bX as ba, bR as na, bS as Aa, aT as Ca, aL as la, X as Sa, ar as pa, aq as ua, av as ya, a0 as ca, aU as da, au as ga, O as Ta, bW as Pa, bP as Ia, bl as _a, bm as ha, K as La, W as Ea, an as ma, ao as Oa, a1 as Ra, am as Da, aM as fa, bz as ka, bu as Ba, by as Ma, bq as va, b8 as Fa, b9 as Na, ba as Wa, bd as xa, bi as Ua, bg as wa, b7 as Qa, b6 as Ga, b3 as Ha, bb as Va, b2 as Ya, b5 as ja, bj as za, bc as Xa, b4 as Ka, bh as Za, U as $a, S as qa, aK as Ja, aN as as, aP as ss, a2 as es, a3 as os, bL as ts, b1 as rs, br as is, bC as bs, aA as ns, bE as As, bv as Cs, bN as ls, bH as Ss, bF as ps, bG as us, bf as ys, be as cs, bZ as ds, bY as gs, as as Ts, bV as Ps, bA as Is, bI as _s, bs as hs, bw as Ls, bp as Es, bO as ms, bB as Os, bK as Rs, bx as Ds, bM as fs, bD as ks, bJ as Bs, az as Ms, a7 as vs, b$ as Fs } from "./index-BtsnuEJC.js";
2
+ import { A as Ws, h as xs, c as Us, C as ws, D as Qs, R as Gs, V as Hs, x as Vs, X as Ys, K as js, d as zs, L as Xs, M as Ks, I as Zs, J as $s, E as qs, G as Js, f as ae, O as se, P as ee, Z as oe, _ as te, T as re, U as ie, $ as be, a0 as ne, B as Ae, s as Ce, p as le, F as Se, H as pe, v as ue, y as ye, r as ce, e as de, z as ge, Q as Te, S as Pe, Y as Ie, N as _e, W as he, u as Le, b as Ee, a as me, w as Oe } from "./AbyssCookieConsentProvider-BhSzVu8P.js";
3
+ import { C as De } from "./CookieConsentSettings.component-DMEAuCVS.js";
4
+ import { aB as ke, y as Be, aA as Me, az as ve, aC as Fe, x as Ne, C as We, E as xe, I as Ue, P as we, aE as Qe, W as Ge, aF as He, aG as Ve, v as Ye, q as je, aD as ze } from "./design-theme-CvLzOz3p.js";
5
5
  export {
6
- e as ABYSS_SERVICE_CONFIG,
7
- o as ABYSS_SIDEBAR_WIDTH,
8
- t as ABYSS_SIDEBAR_WIDTH_COLLAPSED,
9
- r as AVATAR_BASE_SX,
10
- i as AVATAR_BASE_WIDTH,
11
- b as AVATAR_WIDTH_RATIO,
12
- n as AbyssBackground,
13
- A as AbyssBarChart,
14
- l as AbyssBillingPlan,
6
+ ke as ABYSS_SERVICE_CONFIG,
7
+ e as ABYSS_SIDEBAR_WIDTH,
8
+ o as ABYSS_SIDEBAR_WIDTH_COLLAPSED,
9
+ t as AVATAR_BASE_SX,
10
+ r as AVATAR_BASE_WIDTH,
11
+ i as AVATAR_WIDTH_RATIO,
12
+ b as AbyssBackground,
13
+ n as AbyssBarChart,
14
+ A as AbyssBillingPlan,
15
15
  C as AbyssCashFlowChart,
16
- S as AbyssCommandPalette,
17
- Gs as AbyssCookieConsentProvider,
18
- p as AbyssDashboardLayout,
19
- u as AbyssDatePicker,
20
- c as AbyssDateTimePicker,
16
+ l as AbyssCommandPalette,
17
+ Ws as AbyssCookieConsentProvider,
18
+ S as AbyssDashboardLayout,
19
+ p as AbyssDatePicker,
20
+ u as AbyssDateTimePicker,
21
21
  y as AbyssDrawer,
22
- d as AbyssErrorBoundary,
23
- g as AbyssErrorPage,
24
- T as AbyssFamilyBanner,
25
- P as AbyssHeader,
26
- I as AbyssHeaderTitle,
27
- _ as AbyssLayoutMenu,
28
- h as AbyssLayoutNotifications,
29
- L as AbyssLayoutProvider,
30
- E as AbyssLineChart,
31
- Ne as AbyssLoadingScreen,
32
- m as AbyssMarkdownEditor,
33
- O as AbyssMenuItem,
34
- Xs as AbyssModal,
35
- R as AbyssNotifications,
36
- D as AbyssNumberField,
37
- f as AbyssPendingInvitations,
38
- k as AbyssPieChart,
39
- B as AbyssQuotaGauge,
40
- M as AbyssQuotaOffer,
41
- v as AbyssScopeSwitcher,
42
- F as AbyssSearchBar,
43
- N as AbyssSelectOrganization,
44
- W as AbyssSelectProject,
45
- x as AbyssServiceChip,
46
- U as AbyssServiceSelect,
47
- w as AbyssServiceSingleSelect,
48
- Q as AbyssSidebar,
49
- We as AbyssTable,
50
- H as AbyssThemeToggle,
51
- G as AbyssToast,
52
- V as AccountTransactionsRow,
53
- Y as ApplicationSentinelTypeChip,
54
- j as ApplicationWebhookTypeChip,
55
- z as BILLING_ACCOUNT_STATUS_COLORS,
56
- X as BUBBLE_MAX_WIDTH,
57
- Ks as COOKIE_NAME,
58
- K as CREDIT_TRANSACTION_TYPE_COLORS,
59
- Z as CloudImport,
60
- q as CloudImportFile,
61
- J as CloudImportFolder,
62
- $ as ColorPalette,
63
- aa as ColorPicker,
64
- sa as CompanySearchAutocomplete,
65
- xe as ConfirmModal,
66
- ea as ConfirmModalContextProvider,
67
- oa as ContextSelector,
68
- Vs as CookieConsentBanner,
69
- Ys as CookieConsentSettings,
70
- Zs as DEFAULT_PRIVACY_HREF,
71
- ta as DRAWER_WIDTH_COLLAPSED,
72
- ra as DRAWER_WIDTH_EXPANDED,
73
- ia as DashboardLayout,
74
- ba as DashboardLayoutHeader,
75
- na as DatePeriodPicker,
76
- Aa as DropZone,
77
- la as EUR_TRANSACTION_TYPE_COLORS,
78
- Ue as ErrorInfoBox,
79
- Ca as GROUP_COLORS,
80
- Sa as INVOICE_STATUS_COLORS,
81
- pa as INVOICE_TYPE_COLORS,
82
- ua as ImportButton,
83
- ca as ImportFromCloudModal,
84
- we as InfoBox,
85
- ya as InternalProjectCard,
86
- da as LANGUAGE_FLAGS,
87
- ga as LanguageFlagLabel,
88
- Ta as LoadingLayout,
89
- Pa as LogTypeChip,
90
- Ia as MAX_PICTURE_SIZE,
91
- _a as MainLayout,
92
- ha as OrganizationAvatar,
93
- La as PAGE_ICONS,
94
- Ea as PLAN_TIER_COLORS,
95
- Qe as PasswordInput,
96
- ma as PdfEditor,
97
- Oa as PdfOperationType,
98
- Ra as ProjectAvatar,
99
- Da as ProjectCard,
100
- fa as ProjectCategoryBadge,
101
- ka as ProjectLinkSelector,
102
- Ba as ProjectStatusChip,
103
- Ma as ProjectTagChip,
104
- va as QRCodeModal,
105
- Fa as QUOTA_SERVICE_META,
106
- Na as QuotaOfferState,
107
- Wa as QuotaReachedDialog,
108
- xa as QuotaSegmentKind,
109
- qs as ReconcileAction,
110
- He as SuccessInfoBox,
111
- Ua as SupportActionButtons,
112
- wa as SupportActivityLog,
113
- Qa as SupportAttachmentsPanel,
114
- Ha as SupportCategoryChip,
115
- Ga as SupportCategoryGroupCards,
116
- Va as SupportCategorySelect,
117
- Ya as SupportMessageInput,
118
- ja as SupportMessageThread,
119
- za as SupportPriorityChip,
120
- Xa as SupportSidebar,
121
- Ka as SupportStatusBadge,
122
- Za as SupportTicketCreateForm,
123
- qa as SupportTicketCreateStepper,
124
- Ja as SupportTicketDetail,
125
- $a as SupportTicketList,
126
- as as SupportTopBar,
127
- ss as UserAvatar,
128
- es as UserAvatarList,
129
- os as UserSettings,
130
- ts as UserSettingsModal,
131
- Js as VALIDITY_DAYS,
22
+ c as AbyssErrorBoundary,
23
+ d as AbyssErrorPage,
24
+ g as AbyssFamilyBanner,
25
+ T as AbyssHeader,
26
+ P as AbyssHeaderTitle,
27
+ I as AbyssLayoutMenu,
28
+ _ as AbyssLayoutNotifications,
29
+ h as AbyssLayoutProvider,
30
+ L as AbyssLineChart,
31
+ Be as AbyssLoadingScreen,
32
+ E as AbyssMarkdownEditor,
33
+ m as AbyssMenuItem,
34
+ xs as AbyssModal,
35
+ O as AbyssNotifications,
36
+ R as AbyssNumberField,
37
+ D as AbyssPendingInvitations,
38
+ f as AbyssPieChart,
39
+ k as AbyssQuotaGauge,
40
+ B as AbyssQuotaOffer,
41
+ M as AbyssScopeSwitcher,
42
+ v as AbyssSearchBar,
43
+ F as AbyssSelectOrganization,
44
+ N as AbyssSelectProject,
45
+ Me as AbyssServiceChip,
46
+ ve as AbyssServiceSelect,
47
+ Fe as AbyssServiceSingleSelect,
48
+ W as AbyssSidebar,
49
+ Ne as AbyssTable,
50
+ x as AbyssThemeToggle,
51
+ U as AbyssToast,
52
+ w as AccountTransactionsRow,
53
+ Q as ApplicationSentinelTypeChip,
54
+ G as ApplicationWebhookTypeChip,
55
+ H as BILLING_ACCOUNT_STATUS_COLORS,
56
+ V as BUBBLE_MAX_WIDTH,
57
+ Us as COOKIE_NAME,
58
+ Y as CREDIT_TRANSACTION_TYPE_COLORS,
59
+ j as CloudImport,
60
+ z as CloudImportFile,
61
+ X as CloudImportFolder,
62
+ K as ColorPalette,
63
+ Z as ColorPicker,
64
+ $ as CompanySearchAutocomplete,
65
+ We as ConfirmModal,
66
+ q as ConfirmModalContextProvider,
67
+ J as ContextSelector,
68
+ ws as CookieConsentBanner,
69
+ De as CookieConsentSettings,
70
+ Qs as DEFAULT_PRIVACY_HREF,
71
+ aa as DRAWER_WIDTH_COLLAPSED,
72
+ sa as DRAWER_WIDTH_EXPANDED,
73
+ ea as DashboardLayout,
74
+ oa as DashboardLayoutHeader,
75
+ ta as DatePeriodPicker,
76
+ ra as DropZone,
77
+ ia as EUR_TRANSACTION_TYPE_COLORS,
78
+ xe as ErrorInfoBox,
79
+ ba as GROUP_COLORS,
80
+ na as INVOICE_STATUS_COLORS,
81
+ Aa as INVOICE_TYPE_COLORS,
82
+ Ca as ImportButton,
83
+ la as ImportFromCloudModal,
84
+ Ue as InfoBox,
85
+ Sa as InternalProjectCard,
86
+ pa as LANGUAGE_FLAGS,
87
+ ua as LanguageFlagLabel,
88
+ ya as LoadingLayout,
89
+ ca as LogTypeChip,
90
+ da as MAX_PICTURE_SIZE,
91
+ ga as MainLayout,
92
+ Ta as OrganizationAvatar,
93
+ Pa as PAGE_ICONS,
94
+ Ia as PLAN_TIER_COLORS,
95
+ we as PasswordInput,
96
+ _a as PdfEditor,
97
+ ha as PdfOperationType,
98
+ La as ProjectAvatar,
99
+ Ea as ProjectCard,
100
+ ma as ProjectCategoryBadge,
101
+ Oa as ProjectLinkSelector,
102
+ Ra as ProjectStatusChip,
103
+ Da as ProjectTagChip,
104
+ fa as QRCodeModal,
105
+ ka as QUOTA_SERVICE_META,
106
+ Ba as QuotaOfferState,
107
+ Ma as QuotaReachedDialog,
108
+ va as QuotaSegmentKind,
109
+ Gs as ReconcileAction,
110
+ Qe as SuccessInfoBox,
111
+ Fa as SupportActionButtons,
112
+ Na as SupportActivityLog,
113
+ Wa as SupportAttachmentsPanel,
114
+ xa as SupportCategoryChip,
115
+ Ua as SupportCategoryGroupCards,
116
+ wa as SupportCategorySelect,
117
+ Qa as SupportMessageInput,
118
+ Ga as SupportMessageThread,
119
+ Ha as SupportPriorityChip,
120
+ Va as SupportSidebar,
121
+ Ya as SupportStatusBadge,
122
+ ja as SupportTicketCreateForm,
123
+ za as SupportTicketCreateStepper,
124
+ Xa as SupportTicketDetail,
125
+ Ka as SupportTicketList,
126
+ Za as SupportTopBar,
127
+ $a as UserAvatar,
128
+ qa as UserAvatarList,
129
+ Ja as UserSettings,
130
+ as as UserSettingsModal,
131
+ Hs as VALIDITY_DAYS,
132
132
  Ge as WarnInfoBox,
133
- rs as WaterParticles,
134
- is as WebhookResponseCodeChip,
135
- bs as WebhookTypeChip,
136
- $s as amber,
137
- ns as bioluminescentPulse,
138
- ae as brand,
139
- As as buildAbyssFamilyMenuSection,
140
- ls as buildQuotaAxis,
141
- Cs as buildQuotaServiceChipSx,
142
- se as chipColors,
143
- ee as clearCookie,
144
- oe as colorPool,
145
- te as colorPoolExtended,
146
- re as colors,
147
- Ss as createAbyssLayoutStore,
148
- ps as createAbyssTheme,
149
- ie as cyan,
150
- be as darkCustom,
151
- ne as darkPalette,
152
- us as deriveQuotaOfferState,
153
- Ve as duration,
154
- Ye as easing,
155
- cs as fadeIn,
156
- Ae as flattenTranslations,
157
- ys as fontFamily,
158
- ds as fontSize,
159
- gs as fontWeight,
160
- Ts as getCategoryConfig,
161
- Ps as getCategoryGroup,
162
- Is as getFileColor,
163
- _s as getFileIcon,
164
- hs as getLanguageFlag,
165
- le as getPoolColor,
166
- Ce as getPoolColorExtended,
167
- Ls as getProjectColor,
168
- Es as getQuotaServiceColor,
169
- ms as getServiceConfig,
170
- Se as glassDark,
171
- pe as glassLight,
172
- ue as glow,
173
- ce as glowCyan,
174
- ye as gradientsDark,
175
- de as gradientsLight,
176
- ge as green,
177
- Os as iconSize,
178
- Te as indigo,
179
- Pe as legacyTokens,
180
- Ie as lightCustom,
181
- _e as lightPalette,
182
- Rs as markerRatio,
183
- he as neutral,
184
- Ds as offersAction,
185
- fs as placeBubble,
186
- ks as pulseGlow,
187
- Le as purple,
188
- Bs as radius,
189
- Ee as readCookie,
190
- me as reconcile,
191
- Oe as red,
192
- Ms as renderQuotaServiceIcon,
193
- Re as shadow,
194
- De as shadowLight,
195
- vs as shimmer,
196
- Fs as shouldSuggestModule,
197
- Ns as slideInUp,
198
- fe as social,
199
- ke as tagColorPool,
200
- Be as textShadow,
201
- Ws as theme,
202
- je as transition,
203
- xs as typographyVariants,
204
- js as useAbyssCookieConsent,
205
- Us as useAbyssLayoutStore,
206
- ws as useCommandPaletteHotkey,
207
- Qs as useConfirm,
208
- Me as useCookieConsent,
209
- ve as writeCookie
133
+ ss as WaterParticles,
134
+ es as WebhookResponseCodeChip,
135
+ os as WebhookTypeChip,
136
+ Vs as amber,
137
+ ts as bioluminescentPulse,
138
+ Ys as brand,
139
+ rs as buildAbyssFamilyMenuSection,
140
+ is as buildQuotaAxis,
141
+ bs as buildQuotaServiceChipSx,
142
+ js as chipColors,
143
+ zs as clearCookie,
144
+ Xs as colorPool,
145
+ Ks as colorPoolExtended,
146
+ Zs as colors,
147
+ ns as createAbyssLayoutStore,
148
+ As as createAbyssTheme,
149
+ $s as cyan,
150
+ qs as darkCustom,
151
+ Js as darkPalette,
152
+ Cs as deriveQuotaOfferState,
153
+ He as duration,
154
+ Ve as easing,
155
+ ls as fadeIn,
156
+ ae as flattenTranslations,
157
+ Ss as fontFamily,
158
+ ps as fontSize,
159
+ us as fontWeight,
160
+ ys as getCategoryConfig,
161
+ cs as getCategoryGroup,
162
+ ds as getFileColor,
163
+ gs as getFileIcon,
164
+ Ts as getLanguageFlag,
165
+ se as getPoolColor,
166
+ ee as getPoolColorExtended,
167
+ Ps as getProjectColor,
168
+ Is as getQuotaServiceColor,
169
+ Ye as getServiceConfig,
170
+ oe as glassDark,
171
+ te as glassLight,
172
+ re as glow,
173
+ ie as glowCyan,
174
+ be as gradientsDark,
175
+ ne as gradientsLight,
176
+ Ae as green,
177
+ _s as iconSize,
178
+ Ce as indigo,
179
+ le as legacyTokens,
180
+ Se as lightCustom,
181
+ pe as lightPalette,
182
+ hs as markerRatio,
183
+ ue as neutral,
184
+ Ls as offersAction,
185
+ Es as placeBubble,
186
+ ms as pulseGlow,
187
+ ye as purple,
188
+ je as radius,
189
+ ce as readCookie,
190
+ de as reconcile,
191
+ ge as red,
192
+ Os as renderQuotaServiceIcon,
193
+ Te as shadow,
194
+ Pe as shadowLight,
195
+ Rs as shimmer,
196
+ Ds as shouldSuggestModule,
197
+ fs as slideInUp,
198
+ Ie as social,
199
+ _e as tagColorPool,
200
+ he as textShadow,
201
+ ks as theme,
202
+ ze as transition,
203
+ Bs as typographyVariants,
204
+ Le as useAbyssCookieConsent,
205
+ Ms as useAbyssLayoutStore,
206
+ vs as useCommandPaletteHotkey,
207
+ Fs as useConfirm,
208
+ Ee as useCookieConsent,
209
+ me as useOptionalAbyssCookieConsent,
210
+ Oe as writeCookie
210
211
  };
@@ -0,0 +1,29 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { AbyssRumOptions, RumFeedbackSent } from '@abyss-project/monitor-browser';
3
+ import { AbyssRumFeedbackTicket } from './feedback-ticket';
4
+ /**
5
+ * The SDK options of the front, without the two this provider owns: `consent` (the analytics
6
+ * category of the cookie consent) and the SDK's `onFeedbackSent` (the ticket, then the front's).
7
+ */
8
+ export type AbyssRumProviderConfig = Omit<AbyssRumOptions, 'consent' | 'onFeedbackSent'> & {
9
+ /** Called for each feedback Monitor stored, after its ticket was filed (or skipped, or failed). */
10
+ onFeedbackSent?: (feedback: RumFeedbackSent) => void;
11
+ /** Files each feedback as an Internal Tickets ticket; without it, feedback stays in Monitor. */
12
+ feedbackTicket?: AbyssRumFeedbackTicket;
13
+ };
14
+ export type AbyssRumProviderProps = PropsWithChildren<{
15
+ /**
16
+ * Required on purpose (major 8.0.0): a front cannot forget its RUM. `null` disables it explicitly,
17
+ * nothing is installed. Read once: the SDK is started at the first commit with a non-null value,
18
+ * and a later change of `config` is ignored — the SDK lives as long as the page (§5).
19
+ */
20
+ config: AbyssRumProviderConfig | null;
21
+ }>;
22
+ /**
23
+ * Starts the browser RUM of the front. Mount it under `<AbyssCookieConsentProvider>`: replay
24
+ * requires the analytics consent, read at each decision of the SDK, so a consent given or withdrawn
25
+ * after start is followed; without the consent provider, analytics reads as refused. Under
26
+ * `<AuthProvider>`, the session's actor is the signed-in user (`null` once signed out); without it,
27
+ * there is no actor.
28
+ */
29
+ export declare const AbyssRumProvider: ({ config, children, }: AbyssRumProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { RumFeedbackSent } from '@abyss-project/monitor-browser';
2
+ /** Where a front files its users' feedback, and how it links back to the session. */
3
+ export interface AbyssRumFeedbackTicket {
4
+ /** Slug of the Internal Tickets intake (`/public/internal-ticket/intake/:slug`). */
5
+ intakeSlug: string;
6
+ /** Section of the intake the ticket is filed in. */
7
+ internalTicketSectionId: string;
8
+ /** Product name, in the ticket title: `[<appName>] Retour utilisateur`. */
9
+ appName: string;
10
+ /** The Monitor page of the session at the instant of the feedback. */
11
+ sessionUrl: (sessionId: string, offsetMs: number) => string;
12
+ }
13
+ /** The signed-in user of the front, when there is one: the reporter of last resort. */
14
+ export interface FeedbackAccount {
15
+ email: string;
16
+ alias: string;
17
+ }
18
+ /**
19
+ * Files the ticket of one feedback. The reporter is the e-mail typed in the feedback, otherwise the
20
+ * signed-in user's: an anonymous feedback without e-mail files nothing (the intake requires one),
21
+ * it stays in Monitor only. Never rejects: a failure is logged in one line and swallowed, the
22
+ * feedback itself is already stored by Monitor.
23
+ */
24
+ export declare const fileFeedbackTicket: (ticket: AbyssRumFeedbackTicket, feedback: RumFeedbackSent, account: FeedbackAccount | null) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export * from './AbyssRumProvider';
2
+ export type { AbyssRumFeedbackTicket } from './feedback-ticket';
@@ -5,7 +5,7 @@ export declare enum Density {
5
5
  Compact = "compact"
6
6
  }
7
7
  /**
8
- * The design system values carried by the MUI theme (ADR-0166 §3), read by every new component
8
+ * The design system values carried by the MUI theme (ADR-0174 §3), read by every new component
9
9
  * through `theme.design`. Colors are sRGB hexadecimal, generated from the OKLCH tokens.
10
10
  */
11
11
  export interface DesignTheme {
@@ -15,7 +15,7 @@ type ControlSize = 'small' | 'medium' | 'large';
15
15
  export declare const controlHeight: (theme: Theme, size?: ControlSize) => number;
16
16
  /** Height of a table or list row at the theme density. */
17
17
  export declare const rowHeight: (theme: Theme) => number;
18
- /** Minimum tap size below the `md` breakpoint (ADR-0166 §3, densité). */
18
+ /** Minimum tap size below the `md` breakpoint (ADR-0174 §3, densité). */
19
19
  export declare const touchTarget: (theme: Theme) => CSSObject;
20
20
  /** Motion of a property at the standard curve. */
21
21
  export declare const transitionOf: (theme: Theme, properties: string[], duration?: keyof Theme["design"]["durations"]) => string;
@@ -2,7 +2,7 @@ import { Theme } from '@mui/material/styles';
2
2
  import { Density } from './augmentation';
3
3
  import { ThemeMode } from './tokens/primitives';
4
4
  /**
5
- * The MUI theme of the design system, generated from the tokens (ADR-0166 §1, §3). Its values are
5
+ * The MUI theme of the design system, generated from the tokens (ADR-0174 §1, §3). Its values are
6
6
  * also exposed under `theme.design` for the components that style themselves.
7
7
  */
8
8
  export declare function createAbyssTheme(mode: ThemeMode, options?: {
@@ -1,7 +1,7 @@
1
1
  import { Density, DesignTheme } from './augmentation';
2
2
  import { ThemeMode } from './tokens/primitives';
3
3
  /**
4
- * The `theme.design` values of a mode (ADR-0166 §3). Shared by `createAbyssTheme` and by the legacy
4
+ * The `theme.design` values of a mode (ADR-0174 §3). Shared by `createAbyssTheme` and by the legacy
5
5
  * `createTheme`, so a new component rendered in an app still on the legacy theme reads the same
6
6
  * tokens.
7
7
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * OKLCH color, as written in the design tokens (ADR-0166 §3).
2
+ * OKLCH color, as written in the design tokens (ADR-0174 §3).
3
3
  * `l` in [0, 1], `c` >= 0, `h` in degrees, optional `alpha` in [0, 1].
4
4
  */
5
5
  export interface Oklch {
@@ -1,2 +1,2 @@
1
- /** Opacity of the `.soft` backgrounds (ADR-0166 §3): status badges, accent tints. */
1
+ /** Opacity of the `.soft` backgrounds (ADR-0174 §3): status badges, accent tints. */
2
2
  export declare const SOFT_ALPHA = 0.14;
@@ -307,6 +307,7 @@ declare const _default: {
307
307
  TOOLS_SHORT_LINK_COUNT: string;
308
308
  TOOLS_SHORTLINK_RESOLUTIONS_MONTH: string;
309
309
  MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
310
+ RUM_SESSIONS_MONTH: string;
310
311
  REHYDRATION_CONCURRENT_JOBS: string;
311
312
  REHYDRATION_ACTIVE_GB: string;
312
313
  REHYDRATION_MAX_TTL_DAYS: string;
@@ -1254,6 +1255,19 @@ declare const _default: {
1254
1255
  };
1255
1256
  };
1256
1257
  auth: {
1258
+ hero: {
1259
+ tagline: {
1260
+ ABYSS: string;
1261
+ ABYSS_CLOUD: string;
1262
+ ABYSS_MEMORIES: string;
1263
+ ABYSS_TRAINING: string;
1264
+ ABYSS_FORM: string;
1265
+ ABYSS_CRYPT: string;
1266
+ ABYSS_BANKING: string;
1267
+ ABYSS_SPOTLIGHT: string;
1268
+ ABYSS_GAME_ODYSSEY: string;
1269
+ };
1270
+ };
1257
1271
  flow: {
1258
1272
  email: {
1259
1273
  title: string;
@@ -307,6 +307,7 @@ declare const _default: {
307
307
  TOOLS_SHORT_LINK_COUNT: string;
308
308
  TOOLS_SHORTLINK_RESOLUTIONS_MONTH: string;
309
309
  MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
310
+ RUM_SESSIONS_MONTH: string;
310
311
  REHYDRATION_CONCURRENT_JOBS: string;
311
312
  REHYDRATION_ACTIVE_GB: string;
312
313
  REHYDRATION_MAX_TTL_DAYS: string;
@@ -1254,6 +1255,19 @@ declare const _default: {
1254
1255
  };
1255
1256
  };
1256
1257
  auth: {
1258
+ hero: {
1259
+ tagline: {
1260
+ ABYSS: string;
1261
+ ABYSS_CLOUD: string;
1262
+ ABYSS_MEMORIES: string;
1263
+ ABYSS_TRAINING: string;
1264
+ ABYSS_FORM: string;
1265
+ ABYSS_CRYPT: string;
1266
+ ABYSS_BANKING: string;
1267
+ ABYSS_SPOTLIGHT: string;
1268
+ ABYSS_GAME_ODYSSEY: string;
1269
+ };
1270
+ };
1257
1271
  flow: {
1258
1272
  email: {
1259
1273
  title: string;