@abyss-project/commons-front-core 18.1.4 → 19.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/CHANGELOG.md +36 -1
- package/catalog/specs/markdown-editor.spec.ts +13 -0
- package/dist/{CookieConsentSettings-D97TY138.js → CookieConsentSettings-C22e74pq.js} +1 -1
- package/dist/{Surface-CN1zQYLJ.js → Surface-54j_wWRk.js} +2 -2
- package/dist/{Tabs-CxD9y18t.js → Tabs-D8h_6Ehv.js} +672 -665
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
- package/dist/components/data/DataTable/data-table.types.d.ts +5 -0
- package/dist/components/data/FacetPanel/FacetPanel.d.ts +3 -0
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +8 -2
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-GGVSCauN.js → design-theme-F3TviTyp.js} +1 -1
- package/dist/{editors-CJ_6PXoL.js → editors-BvzrUh0u.js} +30836 -30826
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +8 -16
- package/dist/{index-BcsTtdwQ.js → index-BAcL0gZM.js} +4 -4
- package/dist/{index-ByRUmH_4.js → index-BCKWga5S.js} +3 -3
- package/dist/{index-BQFouU9U.js → index-BZthWcJ5.js} +2 -2
- package/dist/{index-B6QYagVk.js → index-BlvA6Lxv.js} +2 -2
- package/dist/{index-Drwqi2Fr.js → index-BnIrh2JM.js} +2 -2
- package/dist/{index-p3G-JM7E.js → index-CP9wCW4Z.js} +3 -3
- package/dist/{index-4MsOXuOU.js → index-CXSxZiqU.js} +2 -2
- package/dist/{index-7M2xC_9h.js → index-CeuzZh-h.js} +2 -2
- package/dist/{index-Dtfo8fKg.js → index-ChFskeZj.js} +4 -4
- package/dist/{index-CXUHmTse.js → index-Co1Gxp6L.js} +2 -2
- package/dist/{index-Cl1UafyM.js → index-Cxvpt5Rk.js} +2 -2
- package/dist/{index-5HFSSrP-.js → index-CzBp_cay.js} +1 -1
- package/dist/{index-Berc0QsZ.js → index-DArDCeHJ.js} +4 -4
- package/dist/{index-BbbyRlLu.js → index-DXzb3gco.js} +2 -2
- package/dist/{index-BQLAeM_n.js → index-DhSyqz6f.js} +2 -2
- package/dist/{index-Dh1lFi8d.js → index-DhYE_E7U.js} +2 -2
- package/dist/{index-Bbc0SjAt.js → index-DkqoRb8_.js} +2 -2
- package/dist/{index-8o9jiKS2.js → index-DlREX3RV.js} +2 -2
- package/dist/{index-VLxkKEWK.js → index-DyR6n35f.js} +3 -3
- package/dist/{index-5BCfqxIs.js → index-VOYH3T8l.js} +2 -2
- package/dist/{index-DQgpUR1S.js → index-qfXRn5GL.js} +3 -3
- package/dist/index.js +4304 -4252
- package/dist/latex-DMur4Nmq.js +4 -0
- package/dist/legacy/components/Chips/index.d.ts +0 -2
- package/dist/legacy.js +1235 -1258
- package/package.json +5 -5
- package/dist/legacy/components/Chips/ApplicationWebhookTypeChip/ApplicationWebhookTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ApplicationWebhookTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/WebhookTypeChip/WebhookTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/WebhookTypeChip/index.d.ts +0 -1
- package/test-results/catalog/.last-run.json +0 -4
|
@@ -3,4 +3,4 @@ import { DataTableProps } from './data-table.types';
|
|
|
3
3
|
* The table form of `DataTable`, from 768 px up. From 768 to 1199 px (next to the icon rail) the
|
|
4
4
|
* `Optional` columns are hidden.
|
|
5
5
|
*/
|
|
6
|
-
export declare function DataTableDesktop<T>({ columns: allColumns, rows, getRowId, density, selection, sort, onRowClick, loading, empty, label, animateAdded, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function DataTableDesktop<T>({ columns: allColumns, rows, getRowId, density, selection, sort, onRowClick, renderExpanded, loading, empty, label, animateAdded, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -74,6 +74,11 @@ export interface DataTableProps<T> {
|
|
|
74
74
|
selection?: DataTableSelection;
|
|
75
75
|
sort?: DataTableSort;
|
|
76
76
|
onRowClick?(row: T): void;
|
|
77
|
+
/**
|
|
78
|
+
* What unfolds directly under a row from 768 px up, across all its columns; `null` or `false` keeps it folded.
|
|
79
|
+
* The caller holds which row is open. Below 768 px, `mobileRow` shows it.
|
|
80
|
+
*/
|
|
81
|
+
renderExpanded?(row: T): ReactNode;
|
|
77
82
|
loading: boolean;
|
|
78
83
|
/** Shown in place of the rows when there is none and nothing loads. */
|
|
79
84
|
empty: ReactNode;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export interface FacetValue {
|
|
2
|
+
/** The value as an expression writes it (`OPEN`); ticking it writes this, never the label. */
|
|
2
3
|
value: string;
|
|
4
|
+
/** The value as the reader sees it (`Ouvert`); the value itself when absent. */
|
|
5
|
+
label?: string;
|
|
3
6
|
count: number;
|
|
4
7
|
}
|
|
5
8
|
export interface Facet {
|
|
@@ -9,7 +9,8 @@ export interface SegmentedOption<V extends string> {
|
|
|
9
9
|
* Needs an `icon`; without one the label is shown anyway.
|
|
10
10
|
*/
|
|
11
11
|
iconOnly?: boolean;
|
|
12
|
-
|
|
12
|
+
/** Shown beside the label: a number as it is, or already formatted for the reader (« 1 000 »). */
|
|
13
|
+
count?: number | string;
|
|
13
14
|
/** Rendered as `data-testid` on the segment. */
|
|
14
15
|
testId?: string;
|
|
15
16
|
/** Accessible name of the segment when the visible label is not enough (an abbreviation). */
|
|
@@ -24,10 +25,15 @@ export interface SegmentedControlProps<V extends string> {
|
|
|
24
25
|
ariaLabel: string;
|
|
25
26
|
/** Rendered as `data-testid` on the group (the element carrying `ariaLabel`). */
|
|
26
27
|
testId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Wrap the segments onto more rows at every width, as the band does below 768 px, instead of
|
|
30
|
+
* scrolling sideways: for a narrow column whose segments would not all fit.
|
|
31
|
+
*/
|
|
32
|
+
wrap?: boolean;
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
29
35
|
* A segmented choice (`.seg`): one option is selected at a time. A `radiogroup` with a roving tab
|
|
30
36
|
* stop: Tab enters on the selected option, arrow keys move the selection (wrapping), Home and End
|
|
31
37
|
* jump to the ends.
|
|
32
38
|
*/
|
|
33
|
-
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, testId, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, testId, wrap, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
package/dist/cookie-consent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-
|
|
2
|
-
import { f as p } from "./Surface-
|
|
1
|
+
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-C22e74pq.js";
|
|
2
|
+
import { f as p } from "./Surface-54j_wWRk.js";
|
|
3
3
|
export {
|
|
4
4
|
o as AbyssCookieConsentProvider,
|
|
5
5
|
a as CONSENT_VALIDITY_DAYS,
|
|
@@ -2,7 +2,7 @@ import { B as Mt, C as DW, D as PW, F as KW, f as WW, m as af, n as b3, G as BW,
|
|
|
2
2
|
import { W as JW, r as zW, C as ZW } from "./index-D7cgykJH.js";
|
|
3
3
|
import * as ga from "react";
|
|
4
4
|
import PT, { useRef as gt, useEffect as xr, useState as Pr, useCallback as xe, useMemo as Ye, useLayoutEffect as fE, createContext as no, forwardRef as ms, createElement as Tr, useContext as ji, memo as Kt, cloneElement as $W, Component as dE, Fragment as t2, isValidElement as eB } from "react";
|
|
5
|
-
import { u as tB, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-
|
|
5
|
+
import { u as tB, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-54j_wWRk.js";
|
|
6
6
|
import KT from "@mui/icons-material/InsertDriveFile";
|
|
7
7
|
import sB from "@mui/icons-material/Image";
|
|
8
8
|
import uB from "@mui/icons-material/PictureAsPdf";
|