@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
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,45 @@
|
|
|
1
1
|
# Changelog — @abyss-project/commons-front-core
|
|
2
2
|
|
|
3
|
+
## 19.0.0
|
|
4
|
+
|
|
5
|
+
Major: `WebhookTypeChip` and `ApplicationWebhookTypeChip` leave `./legacy` (card #792). No satellite imports them. 18.1.6 was never published.
|
|
6
|
+
|
|
7
|
+
Card #286 (global review of AbyssMain, lot 1, lot A).
|
|
8
|
+
|
|
9
|
+
- `DataTable`: from 768 px, a table wider than its frame fades the end of the frame (mask, 32 px) while columns are left beyond its right edge, and the frame carries `data-overflowing`; it used to cut a column at the edge with no sign that the table scrolls. A table that fits is unchanged.
|
|
10
|
+
- `DateRangeField`: below 768 px, a preset keeps its 24 px drawing but its tap target is 44 px high (an invisible extension above and below it); the rows of presets are spaced so the targets do not overlap.
|
|
11
|
+
|
|
12
|
+
Card #286 (global review, lot 1, lot B).
|
|
13
|
+
|
|
14
|
+
- `SegmentedControl`: new optional `wrap`, the band wraps onto more rows at every width, as it does below 768 px, instead of scrolling sideways under a fade. Without it, nothing changes.
|
|
15
|
+
- `Section`: its `actions` can shrink to the width of the section, so a row of actions that wraps no longer runs past the edge of a phone (a header with three buttons at 390 px). Actions that fit are unchanged.
|
|
16
|
+
|
|
17
|
+
Card #286 (global review, lot 1, lot C).
|
|
18
|
+
|
|
19
|
+
- `FacetPanel`: new optional `label` on a facet value, what the reader sees (`Ouvert` for `OPEN`); the checkbox, its title and « Exclure » use it, while the expression still gets `value`. Without it, the value is shown as before.
|
|
20
|
+
|
|
21
|
+
Card #691.
|
|
22
|
+
|
|
23
|
+
- Translations: « Sonde Monitor » / « Monitor probe » for the billed metric's label.
|
|
24
|
+
|
|
25
|
+
Card #792 (P5, L2) and card #692.
|
|
26
|
+
|
|
27
|
+
- **Removed exports** `WebhookTypeChip` and `ApplicationWebhookTypeChip` (legacy chips): the webhook screens now live in `DeliverySubscriptions`. A host that imports them must drop the import.
|
|
28
|
+
- Dependencies: `@abyss-project/storage` goes to `^5.1.0` and the dev dependency `@abyss-project/flow` to `^1.4.0`.
|
|
29
|
+
- `DeliverySubscriptions`: the note « Les événements proposés dépendent de la source » is no longer drawn when the host offers a single source (Probe, Extract): there is nothing to depend on.
|
|
30
|
+
- `DataTable`: new optional `renderExpanded(row)`, what unfolds directly under a row from 768 px up, across all its columns. Without it, a table renders as before.
|
|
31
|
+
|
|
32
|
+
## 18.1.5
|
|
33
|
+
|
|
34
|
+
Card #286. 18.1.4 made a consumer's main bundle heavier: 970 KB gzipped on Spotlight.
|
|
35
|
+
|
|
36
|
+
- `MarkdownEditor`: KaTeX and its base64 fonts, 1.5 MB of Crepe's stylesheet, no longer sit in the bundle of a host that imports the editor statically. They load in their own chunk when an editor mounts. The rest of the stylesheet, about 50 KB, stays with the editor. Until they arrive, a formula shows twice (KaTeX's MathML and HTML branches). If the load fails, a warning goes to the console, and the next mount of an editor tries again.
|
|
37
|
+
|
|
3
38
|
## 18.1.4
|
|
4
39
|
|
|
5
40
|
Card #286 (global review of AbyssMain, lot 1). No export removed, no signature changed. Changed behaviors, each listed below: the y domain of an unfilled `LineChart`, its x labels on a narrow chart, the block handle on a touch layout, the texts of `CodeEditor`.
|
|
6
41
|
|
|
7
|
-
- `MarkdownEditor`: Crepe's stylesheet now reaches consumers built on the published package. The build extracted it into `dist/commons-front-core.css`, which no chunk imports and `exports` does not expose, so block handle, slash menu and toolbar had no layout outside a source alias. The editor now puts it first in `head` itself; nothing to import.
|
|
42
|
+
- `MarkdownEditor`: Crepe's stylesheet now reaches consumers built on the published package. The build extracted it into `dist/commons-front-core.css`, which no chunk imports and `exports` does not expose, so block handle, slash menu and toolbar had no layout outside a source alias. The editor now puts it first in `head` itself; nothing to import.
|
|
8
43
|
- `Toast`: below `md`, the region keeps above the foot of the open dialog when that dialog reaches the bottom edge: MUI's `DialogActions` (`AbyssModal`, a full-screen `Dialog`) and the actions of a `Modal` shown as a sheet. The region moves only when it would reach that foot from where it rests (safe area and cookie banner included): a full-screen dialog with short content has its foot high up, and the toast stays in its corner rather than covering the fields. The cookie banner's `--abyss-toast-clearance` and modal clearance are untouched.
|
|
9
44
|
- `LineChart`: an unfilled chart leaves 8 % of its span above and below its values, without crossing zero, so its ends no longer hug the frame. Filled and stacked charts are unchanged.
|
|
10
45
|
- `LineChart`: a narrow chart keeps labels under its x axis. When the nice ticks leave fewer than two labels inside the margins, the axis is labeled at its two ends, or at one point when two cannot stand side by side; the reserved band under the plot used to stay empty (24 h on a phone).
|
|
@@ -28,6 +28,19 @@ test("Crepe's stylesheet is in the page, before the styles of the theme, and hol
|
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
expect(sheet).toEqual({ beforeTheme: true, holdsRules: true });
|
|
31
|
+
// KaTeX comes apart, once the editor is mounted.
|
|
32
|
+
await expect
|
|
33
|
+
.poll(() =>
|
|
34
|
+
page.evaluate(
|
|
35
|
+
() =>
|
|
36
|
+
document.head
|
|
37
|
+
.querySelector(
|
|
38
|
+
'style[data-abyss-crepe-styles] + style[data-abyss-crepe-latex-styles]',
|
|
39
|
+
)
|
|
40
|
+
?.textContent?.includes('.katex') ?? false,
|
|
41
|
+
),
|
|
42
|
+
)
|
|
43
|
+
.toBe(true);
|
|
31
44
|
});
|
|
32
45
|
|
|
33
46
|
test('on a phone the frame grows with the placeholder, the only hint of « / » there', async ({
|
|
@@ -3,7 +3,7 @@ import { useState as v, useCallback as A, useEffect as T, useLayoutEffect as ie,
|
|
|
3
3
|
import R from "@mui/material/Button";
|
|
4
4
|
import X from "@mui/material/Switch";
|
|
5
5
|
import { styled as g } from "@mui/material/styles";
|
|
6
|
-
import { t as x, w as E, p as f, d as D, D as N, S as O, a as V, u as w, T as j, M as b, b as Z, h as ae, c as ce, e as le } from "./Surface-
|
|
6
|
+
import { t as x, w as E, p as f, d as D, D as N, S as O, a as V, u as w, T as j, M as b, b as Z, h as ae, c as ce, e as le } from "./Surface-54j_wWRk.js";
|
|
7
7
|
import { useQuery as de, useMutation as ue } from "@tanstack/react-query";
|
|
8
8
|
import { AbyssCore as K } from "@abyss-project/main";
|
|
9
9
|
import { createPortal as fe } from "react-dom";
|
|
@@ -1458,7 +1458,7 @@ const He = {
|
|
|
1458
1458
|
},
|
|
1459
1459
|
event: {
|
|
1460
1460
|
MONITOR_EVENT: "Événement Monitor",
|
|
1461
|
-
MONITOR_SENTINEL: "
|
|
1461
|
+
MONITOR_SENTINEL: "Sonde Monitor",
|
|
1462
1462
|
STORAGE_UPLOAD: "Fichier déposé",
|
|
1463
1463
|
STORAGE_WRITE: "Fichier modifié",
|
|
1464
1464
|
STORAGE_DELETE: "Fichier supprimé",
|
|
@@ -3867,7 +3867,7 @@ const He = {
|
|
|
3867
3867
|
},
|
|
3868
3868
|
event: {
|
|
3869
3869
|
MONITOR_EVENT: "Monitor event",
|
|
3870
|
-
MONITOR_SENTINEL: "Monitor
|
|
3870
|
+
MONITOR_SENTINEL: "Monitor probe",
|
|
3871
3871
|
STORAGE_UPLOAD: "File uploaded",
|
|
3872
3872
|
STORAGE_WRITE: "File modified",
|
|
3873
3873
|
STORAGE_DELETE: "File deleted",
|