@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.
Files changed (61) hide show
  1. package/README.md +28 -0
  2. package/catalog/catalog-entries.ts +5 -0
  3. package/catalog/pages/AmbientBackground.tsx +83 -0
  4. package/catalog/pages/BarChart.tsx +127 -0
  5. package/catalog/pages/ConfirmDialogWarning.tsx +45 -0
  6. package/catalog/pages/LineChart.tsx +21 -1
  7. package/catalog/pages/index.ts +6 -0
  8. package/dist/{AbyssCookieConsentProvider-DUYUEZaO.js → AbyssCookieConsentProvider-CeDdkoPq.js} +15 -5
  9. package/dist/{CookieConsentSettings.component-aVDMZLIs.js → CookieConsentSettings.component-tJE0g-SS.js} +1 -1
  10. package/dist/components/data/BarChart/BarChart.d.ts +47 -0
  11. package/dist/components/data/BarChart/BarChart.spec.d.ts +1 -0
  12. package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
  13. package/dist/components/data/DataTable/DataTableMobile.d.ts +1 -1
  14. package/dist/components/data/DataTable/data-table.types.d.ts +6 -0
  15. package/dist/components/data/LineChart/LineChart.d.ts +18 -6
  16. package/dist/components/data/chart-series-tone.d.ts +21 -0
  17. package/dist/components/data/chart-series-tone.spec.d.ts +1 -0
  18. package/dist/components/data/index.d.ts +2 -0
  19. package/dist/components/inputs/ColorField/ColorField.d.ts +8 -5
  20. package/dist/components/layers/ConfirmDialog/ConfirmDialog.d.ts +6 -2
  21. package/dist/components/structure/AmbientBackground/AmbientBackground.d.ts +24 -0
  22. package/dist/components/structure/AmbientBackground/AmbientBackground.spec.d.ts +1 -0
  23. package/dist/components/structure/index.d.ts +1 -0
  24. package/dist/cookie-consent.js +2 -2
  25. package/dist/{design-theme-DyWPbqXp.js → design-theme-D3DQFMu-.js} +10914 -9815
  26. package/dist/hooks/use-rich-intl.hook.d.ts +10 -0
  27. package/dist/{index-C6YE_5pO.js → index-3wZ_n-X5.js} +2 -2
  28. package/dist/{index-C9Vm0yCV.js → index-7E3aXufv.js} +2 -2
  29. package/dist/{index-DPsPJ7S5.js → index-9E4QhCRp.js} +2 -2
  30. package/dist/{index-CAWnWyTQ.js → index-B7yu6Zm9.js} +2 -2
  31. package/dist/{index-BM8u6b8w.js → index-BK4lWFRR.js} +3 -3
  32. package/dist/{index-BMgcTA0L.js → index-BTfe4Sz-.js} +3 -3
  33. package/dist/{index-_kMEUAM7.js → index-BbwAoYtC.js} +4 -4
  34. package/dist/{index-elrbx7C5.js → index-BcUA-oDy.js} +4 -4
  35. package/dist/{index-CX-2IC2j.js → index-BfICcXrk.js} +3 -3
  36. package/dist/{index-77h-J0x1.js → index-By24n0PI.js} +2 -2
  37. package/dist/{index-Bdv62RC2.js → index-CMyNL_Kk.js} +2 -2
  38. package/dist/{index-C6rmH0hM.js → index-CNMUrFys.js} +24253 -25354
  39. package/dist/{index-DKF4BSrW.js → index-CTkBexi5.js} +2 -2
  40. package/dist/{index-BGIR-HuR.js → index-CUoOFhRH.js} +2 -2
  41. package/dist/{index-ChBWwrvm.js → index-CZvosKer.js} +4 -4
  42. package/dist/{index-BykEZXU6.js → index-CzkoqdQK.js} +3 -3
  43. package/dist/{index-C4plH_av.js → index-D3QW807K.js} +2 -2
  44. package/dist/{index-LNg1bMNB.js → index-D6Gkj-V6.js} +2 -2
  45. package/dist/{index-URaKKzT4.js → index-DYUdQPwj.js} +2 -2
  46. package/dist/{index-CZj1-4RN.js → index-DeoE1f9Z.js} +2 -2
  47. package/dist/{index-WINZVUn3.js → index-F67JSDx7.js} +1 -1
  48. package/dist/{index-UXYdJQT_.js → index-rpW-_Gh4.js} +2 -2
  49. package/dist/index.js +4595 -4293
  50. package/dist/legacy/utils/file.utils.d.ts +1 -2
  51. package/dist/legacy.js +105 -105
  52. package/dist/theme/tokens/choice-swatches.d.ts +12 -0
  53. package/dist/theme/tokens/choice-swatches.spec.d.ts +1 -0
  54. package/dist/theme/tokens/index.d.ts +1 -0
  55. package/dist/translations/en.d.ts +5 -0
  56. package/dist/translations/fr.d.ts +5 -0
  57. package/dist/utils/file.utils.d.ts +10 -0
  58. package/dist/utils/file.utils.spec.d.ts +1 -0
  59. package/dist/utils/index.d.ts +1 -0
  60. package/package.json +1 -1
  61. 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
- /** `danger` paints the confirm button in `status.danger` and starts the focus on « Annuler ». */
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;
@@ -9,3 +9,4 @@ export * from './Toolbar/Toolbar';
9
9
  export * from './FilterBar/FilterBar';
10
10
  export * from './SplitView/SplitView';
11
11
  export * from './Tabs/Tabs';
12
+ export * from './AmbientBackground/AmbientBackground';
@@ -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-DUYUEZaO.js";
2
- import { C as E } from "./CookieConsentSettings.component-aVDMZLIs.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-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,