@abyss-project/commons-front-core 9.2.0 → 9.3.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/README.md +28 -0
- package/catalog/catalog-entries.ts +5 -0
- package/catalog/pages/AmbientBackground.tsx +83 -0
- package/catalog/pages/BarChart.tsx +127 -0
- package/catalog/pages/ConfirmDialogWarning.tsx +45 -0
- package/catalog/pages/LineChart.tsx +21 -1
- package/catalog/pages/index.ts +6 -0
- package/dist/{AbyssCookieConsentProvider-DUYUEZaO.js → AbyssCookieConsentProvider-CeDdkoPq.js} +15 -5
- package/dist/{CookieConsentSettings.component-aVDMZLIs.js → CookieConsentSettings.component-tJE0g-SS.js} +1 -1
- package/dist/components/data/BarChart/BarChart.d.ts +47 -0
- package/dist/components/data/BarChart/BarChart.spec.d.ts +1 -0
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
- package/dist/components/data/DataTable/DataTableMobile.d.ts +1 -1
- package/dist/components/data/DataTable/data-table.types.d.ts +6 -0
- package/dist/components/data/LineChart/LineChart.d.ts +18 -6
- package/dist/components/data/chart-series-tone.d.ts +21 -0
- package/dist/components/data/chart-series-tone.spec.d.ts +1 -0
- package/dist/components/data/index.d.ts +2 -0
- package/dist/components/inputs/ColorField/ColorField.d.ts +8 -5
- package/dist/components/layers/ConfirmDialog/ConfirmDialog.d.ts +6 -2
- package/dist/components/structure/AmbientBackground/AmbientBackground.d.ts +24 -0
- package/dist/components/structure/AmbientBackground/AmbientBackground.spec.d.ts +1 -0
- package/dist/components/structure/index.d.ts +1 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-DyWPbqXp.js → design-theme-D3DQFMu-.js} +10914 -9815
- package/dist/hooks/use-rich-intl.hook.d.ts +10 -0
- package/dist/{index-C6YE_5pO.js → index-3wZ_n-X5.js} +2 -2
- package/dist/{index-C9Vm0yCV.js → index-7E3aXufv.js} +2 -2
- package/dist/{index-DPsPJ7S5.js → index-9E4QhCRp.js} +2 -2
- package/dist/{index-CAWnWyTQ.js → index-B7yu6Zm9.js} +2 -2
- package/dist/{index-BM8u6b8w.js → index-BK4lWFRR.js} +3 -3
- package/dist/{index-BMgcTA0L.js → index-BTfe4Sz-.js} +3 -3
- package/dist/{index-_kMEUAM7.js → index-BbwAoYtC.js} +4 -4
- package/dist/{index-elrbx7C5.js → index-BcUA-oDy.js} +4 -4
- package/dist/{index-CX-2IC2j.js → index-BfICcXrk.js} +3 -3
- package/dist/{index-77h-J0x1.js → index-By24n0PI.js} +2 -2
- package/dist/{index-Bdv62RC2.js → index-CMyNL_Kk.js} +2 -2
- package/dist/{index-C6rmH0hM.js → index-CNMUrFys.js} +24253 -25354
- package/dist/{index-DKF4BSrW.js → index-CTkBexi5.js} +2 -2
- package/dist/{index-BGIR-HuR.js → index-CUoOFhRH.js} +2 -2
- package/dist/{index-ChBWwrvm.js → index-CZvosKer.js} +4 -4
- package/dist/{index-BykEZXU6.js → index-CzkoqdQK.js} +3 -3
- package/dist/{index-C4plH_av.js → index-D3QW807K.js} +2 -2
- package/dist/{index-LNg1bMNB.js → index-D6Gkj-V6.js} +2 -2
- package/dist/{index-URaKKzT4.js → index-DYUdQPwj.js} +2 -2
- package/dist/{index-CZj1-4RN.js → index-DeoE1f9Z.js} +2 -2
- package/dist/{index-WINZVUn3.js → index-F67JSDx7.js} +1 -1
- package/dist/{index-UXYdJQT_.js → index-rpW-_Gh4.js} +2 -2
- package/dist/index.js +4595 -4293
- package/dist/legacy/utils/file.utils.d.ts +1 -2
- package/dist/legacy.js +105 -105
- package/dist/theme/tokens/choice-swatches.d.ts +12 -0
- package/dist/theme/tokens/choice-swatches.spec.d.ts +1 -0
- package/dist/theme/tokens/index.d.ts +1 -0
- package/dist/translations/en.d.ts +5 -0
- package/dist/translations/fr.d.ts +5 -0
- package/dist/utils/file.utils.d.ts +10 -0
- package/dist/utils/file.utils.spec.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/test-results/catalog/.last-run.json +1 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export declare enum ConfirmDialogTone {
|
|
3
3
|
Default = "default",
|
|
4
|
-
Danger = "danger"
|
|
4
|
+
Danger = "danger",
|
|
5
|
+
Warning = "warning"
|
|
5
6
|
}
|
|
6
7
|
export interface ConfirmDialogProps {
|
|
7
8
|
open: boolean;
|
|
8
9
|
title: string;
|
|
9
10
|
body: ReactNode;
|
|
10
11
|
confirmLabel: string;
|
|
11
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* `danger` paints the confirm button in `status.danger`, `warning` in `status.warning`; both start
|
|
14
|
+
* the focus on « Annuler ».
|
|
15
|
+
*/
|
|
12
16
|
tone?: ConfirmDialogTone;
|
|
13
17
|
/** Text the user must type, exactly, before the confirm button is enabled. */
|
|
14
18
|
confirmationText?: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum AmbientBackgroundPlacement {
|
|
2
|
+
/** Covers the window (position fixed): full-page backdrop of a public page. */
|
|
3
|
+
Viewport = "viewport",
|
|
4
|
+
/** Stops at the nearest positioned ancestor (position absolute): a panel, the Probe scanner. */
|
|
5
|
+
Container = "container"
|
|
6
|
+
}
|
|
7
|
+
export interface AmbientBackgroundProps {
|
|
8
|
+
/** `Viewport` by default. */
|
|
9
|
+
placement?: AmbientBackgroundPlacement;
|
|
10
|
+
/** Freezes the motion (Probe between two scans). */
|
|
11
|
+
paused?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** Whether the layers move, as exposed by `data-motion`. */
|
|
14
|
+
export declare enum AmbientBackgroundMotion {
|
|
15
|
+
Animated = "animated",
|
|
16
|
+
Static = "static"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A quiet animated backdrop of glows drawn from `accent` and `data.series.5`, under the content of a
|
|
20
|
+
* public page or a panel. It is decoration only: hidden from assistive technologies, transparent to
|
|
21
|
+
* the pointer, out of the flow (it never moves nor sizes the content). The glows drift slowly, and
|
|
22
|
+
* stand still under `prefers-reduced-motion: reduce`, below 768 px and while `paused`.
|
|
23
|
+
*/
|
|
24
|
+
export declare function AmbientBackground({ placement, paused, }: AmbientBackgroundProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/cookie-consent.js
CHANGED
|
@@ -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-
|
|
2
|
-
import { C as E } from "./CookieConsentSettings.component-
|
|
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-CeDdkoPq.js";
|
|
2
|
+
import { C as E } from "./CookieConsentSettings.component-tJE0g-SS.js";
|
|
3
3
|
export {
|
|
4
4
|
e as AbyssCookieConsentProvider,
|
|
5
5
|
a as COOKIE_NAME,
|