@abyss-project/commons-front-core 13.3.0 → 14.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/catalog/captures-plan.ts +4 -1
- package/catalog/catalog-entries.ts +6 -1
- package/catalog/expected-error.ts +6 -0
- package/catalog/pages/CookieConsent.tsx +38 -0
- package/catalog/pages/ErrorBoundary.tsx +22 -0
- package/catalog/pages/PasswordField.tsx +62 -0
- package/catalog/pages/Toast.tsx +17 -6
- package/catalog/pages/index.ts +6 -0
- package/catalog/specs/captures.spec.ts +10 -0
- package/catalog/specs/catalog-page.ts +6 -1
- package/catalog/specs/write-capture-index.ts +1 -0
- package/dist/{AbyssCloud-D_AbU9k7.js → AbyssCloud-B3rMelRi.js} +636 -712
- package/dist/CookieConsentSettings-DyJGEnVA.js +505 -0
- package/dist/{use-rich-intl.hook-BETUyCkW.js → Surface-B_J_I_1i.js} +700 -147
- package/dist/Tabs-_TzugjHZ.js +1941 -0
- package/dist/auth/components/AuthHeroLayout/auth-hero-gradient.d.ts +18 -0
- package/dist/auth/components/shared/AuthLoadingScreen.component.d.ts +5 -0
- package/dist/auth/components/shared/use-async-resource.hook.d.ts +4 -1
- package/dist/auth/components/shared/use-async-resource.hook.spec.d.ts +1 -0
- package/dist/components/business/CookieConsent/AbyssCookieConsentProvider.spec.d.ts +1 -0
- package/dist/components/business/CookieConsent/CookieConsent.spec.d.ts +1 -0
- package/dist/{legacy/components/CookieConsent/CookieConsentBanner.component.d.ts → components/business/CookieConsent/CookieConsentBanner.d.ts} +1 -2
- package/dist/components/business/CookieConsent/CookieConsentSettings.d.ts +1 -0
- package/dist/{legacy/components → components/business}/CookieConsent/index.d.ts +2 -2
- package/dist/components/business/index.d.ts +3 -0
- package/dist/components/inputs/FormField/FormField.d.ts +5 -1
- package/dist/components/inputs/PasswordField/PasswordField.d.ts +40 -0
- package/dist/components/inputs/PasswordField/PasswordField.spec.d.ts +1 -0
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/layers/Toast/Toast.d.ts +3 -18
- package/dist/components/layers/Toast/toast-clearance.d.ts +6 -0
- package/dist/components/layers/Toast/toast-store.d.ts +76 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.d.ts +17 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -0
- package/dist/components/states/PageState/PageState.d.ts +3 -1
- package/dist/components/states/index.d.ts +1 -0
- package/dist/cookie-consent.d.ts +1 -1
- package/dist/cookie-consent.js +14 -15
- package/dist/demo/DemoBanner/DemoBanner.d.ts +16 -0
- package/dist/demo/DemoBanner/DemoBanner.spec.d.ts +1 -0
- package/dist/demo/DemoBanner/index.d.ts +1 -0
- package/dist/demo/demo-blocked.interceptor.d.ts +7 -0
- package/dist/demo/demo.en.d.ts +17 -0
- package/dist/demo/demo.fr.d.ts +17 -0
- package/dist/demo/index.d.ts +3 -0
- package/dist/demo/tests/demo-blocked.interceptor.spec.d.ts +1 -0
- package/dist/demo/use-demo-account.hook.d.ts +19 -0
- package/dist/design-theme-D5L0JNbX.js +26599 -0
- package/dist/{editors-CUsZNFfw.js → editors-C6Rocm6M.js} +83 -83
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +80 -0
- package/dist/{index-BQ4GXlMJ.js → index-5AavH8Oo.js} +1 -1
- package/dist/{index-Bn4gTAno.js → index-B58_3EoW.js} +2 -2
- package/dist/{index-DuMzZrqc.js → index-BElPTqLa.js} +2 -2
- package/dist/{index-D1ro2oTw.js → index-BI4ooqu1.js} +2 -2
- package/dist/{index-TB7ekLl-.js → index-BYDMmzla.js} +2 -2
- package/dist/{index-CM0x-TnE.js → index-C1GCQ2Ke.js} +2 -2
- package/dist/{index-DEBTvCWD.js → index-C1I7MW-q.js} +3 -3
- package/dist/{index-pnfk6VZ7.js → index-CDI4_t7D.js} +4 -4
- package/dist/{index-Lyt4_W7a.js → index-CDWJlhuZ.js} +2 -2
- package/dist/{index-C7a2XXcz.js → index-CKJMsjnV.js} +4 -4
- package/dist/{index-CDpC4_po.js → index-Cskjr11h.js} +2 -2
- package/dist/{index-DErJ9c2q.js → index-CuYK_i3Q.js} +2 -2
- package/dist/{index-GTkZik4b.js → index-Cwgj3j50.js} +3 -3
- package/dist/{index-CjV5ui_B.js → index-Czhx2OUB.js} +2 -2
- package/dist/{index-CiDg4J7c.js → index-DGoR-pBV.js} +4 -4
- package/dist/{index-YzYX-H93.js → index-DjAZPCEQ.js} +3 -3
- package/dist/{index-Ba41aBBN.js → index-Dutd4cJm.js} +2 -2
- package/dist/{index-DobX4g2g.js → index-Dym_r-do.js} +2 -2
- package/dist/{index-BhFOCfCj.js → index-TshVV9T4.js} +2 -2
- package/dist/{index-BzoBMWdL.js → index-UjGNADrL.js} +3 -3
- package/dist/{index-CYUixRIB.js → index-u-EAOYOb.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5483 -4750
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -4
- package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +1 -1
- package/dist/legacy/components/index.d.ts +1 -1
- package/dist/legacy.js +9626 -8129
- package/dist/translations/en.d.ts +39 -0
- package/dist/translations/fr.d.ts +39 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/project-link-mode.d.ts +4 -0
- package/dist/utils/project-link-wording.utils.d.ts +1 -1
- package/dist/utils/service-config.d.ts +8 -0
- package/dist/utils/service-config.spec.d.ts +1 -0
- package/package.json +3 -3
- package/vite.config.ts +1 -1
- package/dist/AbyssCookieConsentProvider-Ds99df0E.js +0 -4562
- package/dist/CookieConsentSettings.component-DoWLHqw5.js +0 -78
- package/dist/Tabs-C1qcQ2i5.js +0 -2335
- package/dist/design-theme-CYGZ6mAh.js +0 -23975
- package/dist/legacy/components/CookieConsent/CookieConsentSettings.component.d.ts +0 -2
- /package/dist/{legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts → auth/components/SecuritySettings/sections/SessionsSection.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components → components/business}/CookieConsent/AbyssCookieConsentProvider.d.ts +0 -0
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
demo: {
|
|
3
|
+
banner: {
|
|
4
|
+
title: string;
|
|
5
|
+
summary: string;
|
|
6
|
+
'expires-in': string;
|
|
7
|
+
'expires-today': string;
|
|
8
|
+
reset: string;
|
|
9
|
+
'learn-more': string;
|
|
10
|
+
'reset-dialog': {
|
|
11
|
+
title: string;
|
|
12
|
+
body: string;
|
|
13
|
+
confirm: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
blocked: string;
|
|
17
|
+
};
|
|
2
18
|
'space-display-name': {
|
|
3
19
|
personal: string;
|
|
4
20
|
'perso-in-org': string;
|
|
@@ -111,6 +127,7 @@ declare const _default: {
|
|
|
111
127
|
LINK_RESOLUTIONS_MONTH: string;
|
|
112
128
|
MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
|
|
113
129
|
FLOW_WORKFLOW_CREDITS_MONTH: string;
|
|
130
|
+
REFLEX_EXECUTIONS_MONTH: string;
|
|
114
131
|
CONSOLE_VAULT_ENTRIES_COUNT: string;
|
|
115
132
|
RUM_SESSIONS_MONTH: string;
|
|
116
133
|
REHYDRATION_CONCURRENT_JOBS: string;
|
|
@@ -163,6 +180,18 @@ declare const _default: {
|
|
|
163
180
|
'error-retry': string;
|
|
164
181
|
};
|
|
165
182
|
};
|
|
183
|
+
'error-boundary': {
|
|
184
|
+
title: string;
|
|
185
|
+
'go-home': string;
|
|
186
|
+
'show-details': string;
|
|
187
|
+
'hide-details': string;
|
|
188
|
+
'details-label': string;
|
|
189
|
+
message: string;
|
|
190
|
+
'component-stack': string;
|
|
191
|
+
copy: string;
|
|
192
|
+
copied: string;
|
|
193
|
+
'copy-failed': string;
|
|
194
|
+
};
|
|
166
195
|
cookies: {
|
|
167
196
|
banner: {
|
|
168
197
|
title: string;
|
|
@@ -809,6 +838,10 @@ declare const _default: {
|
|
|
809
838
|
name: string;
|
|
810
839
|
description: string;
|
|
811
840
|
};
|
|
841
|
+
demo: {
|
|
842
|
+
name: string;
|
|
843
|
+
description: string;
|
|
844
|
+
};
|
|
812
845
|
custom: {
|
|
813
846
|
name: string;
|
|
814
847
|
};
|
|
@@ -1334,6 +1367,7 @@ declare const _default: {
|
|
|
1334
1367
|
totp: string;
|
|
1335
1368
|
recovery: string;
|
|
1336
1369
|
impersonation: string;
|
|
1370
|
+
demo_link: string;
|
|
1337
1371
|
};
|
|
1338
1372
|
passkeys: {
|
|
1339
1373
|
title: string;
|
|
@@ -1805,6 +1839,7 @@ declare const _default: {
|
|
|
1805
1839
|
toast: {
|
|
1806
1840
|
region: string;
|
|
1807
1841
|
dismiss: string;
|
|
1842
|
+
progress: string;
|
|
1808
1843
|
};
|
|
1809
1844
|
'command-palette': {
|
|
1810
1845
|
label: string;
|
|
@@ -2143,5 +2178,9 @@ declare const _default: {
|
|
|
2143
2178
|
};
|
|
2144
2179
|
};
|
|
2145
2180
|
};
|
|
2181
|
+
'password-field': {
|
|
2182
|
+
show: string;
|
|
2183
|
+
hide: string;
|
|
2184
|
+
};
|
|
2146
2185
|
};
|
|
2147
2186
|
export default _default;
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
demo: {
|
|
3
|
+
banner: {
|
|
4
|
+
title: string;
|
|
5
|
+
summary: string;
|
|
6
|
+
'expires-in': string;
|
|
7
|
+
'expires-today': string;
|
|
8
|
+
reset: string;
|
|
9
|
+
'learn-more': string;
|
|
10
|
+
'reset-dialog': {
|
|
11
|
+
title: string;
|
|
12
|
+
body: string;
|
|
13
|
+
confirm: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
blocked: string;
|
|
17
|
+
};
|
|
2
18
|
'space-display-name': {
|
|
3
19
|
personal: string;
|
|
4
20
|
'perso-in-org': string;
|
|
@@ -111,6 +127,7 @@ declare const _default: {
|
|
|
111
127
|
LINK_RESOLUTIONS_MONTH: string;
|
|
112
128
|
MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
|
|
113
129
|
FLOW_WORKFLOW_CREDITS_MONTH: string;
|
|
130
|
+
REFLEX_EXECUTIONS_MONTH: string;
|
|
114
131
|
CONSOLE_VAULT_ENTRIES_COUNT: string;
|
|
115
132
|
RUM_SESSIONS_MONTH: string;
|
|
116
133
|
REHYDRATION_CONCURRENT_JOBS: string;
|
|
@@ -163,6 +180,18 @@ declare const _default: {
|
|
|
163
180
|
'error-retry': string;
|
|
164
181
|
};
|
|
165
182
|
};
|
|
183
|
+
'error-boundary': {
|
|
184
|
+
title: string;
|
|
185
|
+
'go-home': string;
|
|
186
|
+
'show-details': string;
|
|
187
|
+
'hide-details': string;
|
|
188
|
+
'details-label': string;
|
|
189
|
+
message: string;
|
|
190
|
+
'component-stack': string;
|
|
191
|
+
copy: string;
|
|
192
|
+
copied: string;
|
|
193
|
+
'copy-failed': string;
|
|
194
|
+
};
|
|
166
195
|
cookies: {
|
|
167
196
|
banner: {
|
|
168
197
|
title: string;
|
|
@@ -809,6 +838,10 @@ declare const _default: {
|
|
|
809
838
|
name: string;
|
|
810
839
|
description: string;
|
|
811
840
|
};
|
|
841
|
+
demo: {
|
|
842
|
+
name: string;
|
|
843
|
+
description: string;
|
|
844
|
+
};
|
|
812
845
|
custom: {
|
|
813
846
|
name: string;
|
|
814
847
|
};
|
|
@@ -1334,6 +1367,7 @@ declare const _default: {
|
|
|
1334
1367
|
totp: string;
|
|
1335
1368
|
recovery: string;
|
|
1336
1369
|
impersonation: string;
|
|
1370
|
+
demo_link: string;
|
|
1337
1371
|
};
|
|
1338
1372
|
passkeys: {
|
|
1339
1373
|
title: string;
|
|
@@ -1805,6 +1839,7 @@ declare const _default: {
|
|
|
1805
1839
|
toast: {
|
|
1806
1840
|
region: string;
|
|
1807
1841
|
dismiss: string;
|
|
1842
|
+
progress: string;
|
|
1808
1843
|
};
|
|
1809
1844
|
'command-palette': {
|
|
1810
1845
|
label: string;
|
|
@@ -2143,5 +2178,9 @@ declare const _default: {
|
|
|
2143
2178
|
};
|
|
2144
2179
|
};
|
|
2145
2180
|
};
|
|
2181
|
+
'password-field': {
|
|
2182
|
+
show: string;
|
|
2183
|
+
hide: string;
|
|
2184
|
+
};
|
|
2146
2185
|
};
|
|
2147
2186
|
export default _default;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './billing.utils';
|
|
|
2
2
|
export * from './clipboard.utils';
|
|
3
3
|
export * from './cookie.utils';
|
|
4
4
|
export * from './message-link.utils';
|
|
5
|
+
export * from './project-link-mode';
|
|
5
6
|
export * from './project-link-wording.utils';
|
|
6
7
|
export * from './locale.utils';
|
|
7
8
|
export * from './share-notification.utils';
|
|
@@ -16,4 +17,5 @@ export * from './privacy-link.constant';
|
|
|
16
17
|
export * from './quota-offer-state.utils';
|
|
17
18
|
export * from './family';
|
|
18
19
|
export * from './file.utils';
|
|
20
|
+
export * from './service-config';
|
|
19
21
|
export * from './table-column-width';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProjectLinkMode } from '
|
|
1
|
+
import { ProjectLinkMode } from './project-link-mode';
|
|
2
2
|
import { ExistingTranslationKey } from '../hooks/use-rich-intl.hook';
|
|
3
3
|
export declare const getAbyssLinkWording: (link: ProjectLinkMode) => ExistingTranslationKey;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActivatableService } from '@abyss-project/main';
|
|
2
|
+
export interface ServiceLogoConfig {
|
|
3
|
+
/** URL of the service's mark. */
|
|
4
|
+
logo: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SERVICE_LOGOS: Partial<Record<ActivatableService, ServiceLogoConfig>>;
|
|
7
|
+
/** The mark of a service; a service without a mark of its own (a game) falls back to Abyss's. */
|
|
8
|
+
export declare const getServiceConfig: (service: ActivatableService) => ServiceLogoConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"react-router-dom": "^6.15.0",
|
|
89
89
|
"react-toastify": "^8.0.2 || ^10.0.0",
|
|
90
90
|
"zustand": "^5.0.0",
|
|
91
|
-
"@abyss-project/main": "
|
|
91
|
+
"@abyss-project/main": "28.0.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
94
94
|
"@abyss-project/capacitor-auth": {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"use-debounce": "^10.0.5",
|
|
140
140
|
"uuid": "^9.0.0",
|
|
141
141
|
"yup": "^0.32.11",
|
|
142
|
-
"@abyss-project/main": "
|
|
142
|
+
"@abyss-project/main": "28.0.0"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
145
|
"@abyss-project/cloud": "^2.4.0",
|
package/vite.config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export default defineConfig({
|
|
|
61
61
|
// monitor SDK that the full barrel transitively includes.
|
|
62
62
|
entry: {
|
|
63
63
|
index: resolve(__dirname, 'src/index.ts'),
|
|
64
|
-
'cookie-consent': resolve(__dirname, 'src/
|
|
64
|
+
'cookie-consent': resolve(__dirname, 'src/components/business/CookieConsent/index.ts'),
|
|
65
65
|
// The native auth bridge, out of the main barrel: the only importer of the optional peer
|
|
66
66
|
// `@abyss-project/capacitor-auth`, which a web-only consumer does not install.
|
|
67
67
|
'auth-native': resolve(__dirname, 'src/auth/client/capacitor-bridge.ts'),
|