@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.
- package/README.md +24 -0
- package/catalog/playwright.ci.config.ts +29 -0
- package/catalog/vite.config.ts +6 -1
- package/dist/{AbyssModal.component-Be9980v8.js → AbyssCookieConsentProvider-BhSzVu8P.js} +2393 -2142
- package/dist/CookieConsentSettings.component-DMEAuCVS.js +77 -0
- package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +39 -0
- package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.spec.d.ts +1 -0
- package/dist/auth/components/AuthHeroLayout/auth-hero.context.d.ts +11 -0
- package/dist/auth/components/index.d.ts +3 -0
- package/dist/auth/components/shared/OneTimeCodeField.component.d.ts +6 -2
- package/dist/auth/components/shared/OneTimeCodeField.component.spec.d.ts +1 -0
- package/dist/auth/components/test-support/own-css.d.ts +5 -0
- package/dist/components/layers/Toast/Toast.d.ts +1 -1
- package/dist/components/structure/AppShell/AppShell.d.ts +1 -1
- package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -1
- package/dist/cookie-consent.js +17 -16
- package/dist/{design-theme-BSrfO5Lg.js → design-theme-CvLzOz3p.js} +3469 -3262
- package/dist/fonts.css +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +36 -0
- package/dist/{index-DEAXSgTl.js → index-21vSFz6u.js} +2 -2
- package/dist/{index-BLlNcpG3.js → index-6KdfKdSJ.js} +2 -2
- package/dist/{index-C_Sk7zwR.js → index-7HAvRXgu.js} +2 -2
- package/dist/{index-MZi-_cYy.js → index-ASLTmD1Y.js} +2 -2
- package/dist/{index-BzCSI9XW.js → index-BTjzj7mm.js} +2 -2
- package/dist/{index-A5kt29MO.js → index-BVS73U9E.js} +4 -4
- package/dist/{index-Do1fJzj3.js → index-BkfBpYKR.js} +3 -3
- package/dist/{index-CHSMfNLS.js → index-BqIg55B3.js} +4 -4
- package/dist/{index-CqYmPMRC.js → index-Btnmn1iK.js} +4 -4
- package/dist/{index-DwH67Kcz.js → index-BtsnuEJC.js} +25265 -23537
- package/dist/{index-CfGWl_3N.js → index-C92C_oG5.js} +2 -2
- package/dist/{index-CQtuGy2v.js → index-CHGRiRCe.js} +3 -3
- package/dist/{index-Ds5uSeS4.js → index-ClLoBnCN.js} +2 -2
- package/dist/{index-WQz3nM40.js → index-D4Qh2Iww.js} +3 -3
- package/dist/{index-BuzeZTOG.js → index-D5e4uD4k.js} +2 -2
- package/dist/{index-Cnpf4y1o.js → index-D_GWBYM2.js} +1 -1
- package/dist/{index-Dj8ju3uH.js → index-DixNft1u.js} +2 -2
- package/dist/{index-Bkf4H0Hz.js → index-GoHiFeaw.js} +2 -2
- package/dist/{index-BaELetix.js → index-LdiTmDFg.js} +2 -2
- package/dist/{index-DTPUe23x.js → index-Ni4BmFs4.js} +2 -2
- package/dist/{index-CrrfwI5H.js → index-bR-mnNUA.js} +2 -2
- package/dist/{index-l4rCdiSM.js → index-l7FAjaVB.js} +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2610 -2232
- package/dist/legacy/components/CookieConsent/AbyssCookieConsentProvider.d.ts +5 -0
- package/dist/legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts +1 -0
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +1 -0
- package/dist/legacy/fonts.css +1 -1
- package/dist/legacy.js +206 -205
- package/dist/rum/AbyssRumProvider.d.ts +29 -0
- package/dist/rum/AbyssRumProvider.spec.d.ts +1 -0
- package/dist/rum/feedback-ticket.d.ts +24 -0
- package/dist/rum/index.d.ts +2 -0
- package/dist/theme/augmentation.d.ts +1 -1
- package/dist/theme/components/shared.d.ts +1 -1
- package/dist/theme/create-abyss-theme.d.ts +1 -1
- package/dist/theme/design-theme.d.ts +1 -1
- package/dist/theme/tokens/oklch.d.ts +1 -1
- package/dist/theme/tokens/soft.d.ts +1 -1
- package/dist/translations/en.d.ts +14 -0
- package/dist/translations/fr.d.ts +14 -0
- package/package.json +10 -5
- package/vite.config.ts +1 -1
- package/dist/CookieConsentSettings.component-CE2qOlyC.js +0 -299
- 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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/legacy/fonts.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Lexend, self-hosted for the legacy typography (ADR-
|
|
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 {
|
|
2
|
-
import { A as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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>;
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,2 +1,2 @@
|
|
|
1
|
-
/** Opacity of the `.soft` backgrounds (ADR-
|
|
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;
|