@nxgt/material 2.10.1 → 2.12.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 +52 -0
- package/dist/{blockDiagram-BEXU5L5S-CJLOORWK.js → blockDiagram-BEXU5L5S-CnFXw-7E.js} +1 -1
- package/dist/{chunk-3FUC2YCW-ClO5Q7A1.js → chunk-3FUC2YCW-3vMiTgTl.js} +1 -1
- package/dist/{chunk-7M6MHVWA-DsMPzivr.js → chunk-7M6MHVWA-NPaJJ6Gy.js} +1 -1
- package/dist/{chunk-GNY47TPC-CFItyjGy.js → chunk-GNY47TPC-DCFqYc_z.js} +4 -4
- package/dist/{chunk-NETBCI7D-Bll4gy0a.js → chunk-NETBCI7D-BB4rjLSQ.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-CwcuZpJa.js → chunk-Z7XXMR3K-vmLFt9Cr.js} +1 -1
- package/dist/{classDiagram-v2-NBCMYWYE-BAvo2puZ.js → classDiagram-v2-NBCMYWYE-eUVWeh_6.js} +2 -2
- package/dist/components/ui/primitives/label/label.css +14 -21
- package/dist/{components-N_PpCQjB.js → components-BYxsGbyO.js} +23364 -23345
- package/dist/components.js +2 -2
- package/dist/{dagre-6A5THRUB-C70bzAEw.js → dagre-6A5THRUB-LmEtEC93.js} +3 -3
- package/dist/{diagram-22UHCM2B-BtBii6xG.js → diagram-22UHCM2B-BwARaM-x.js} +2 -2
- package/dist/{diagram-3UASUU5V-DMDUtIe2.js → diagram-3UASUU5V-BkeqK_e8.js} +1 -1
- package/dist/{elk-276RUBZZ-D2kPrlDF.js → elk-276RUBZZ-DL4pxCSP.js} +3 -3
- package/dist/{erDiagram-OPXOYQCR-CItUoDJi.js → erDiagram-OPXOYQCR-Ajlj2lcb.js} +2 -2
- package/dist/{field-blur-DbgP3nv0.js → field-blur-DgfIJceK.js} +909 -890
- package/dist/{flowDiagram-KWPJA3E3-BF73zGqG.js → flowDiagram-KWPJA3E3-BOEc9KSn.js} +3 -3
- package/dist/{ganttDiagram-FUAMR5RP-DWnIg8g9.js → ganttDiagram-FUAMR5RP-DdxLcLNx.js} +1 -1
- package/dist/{journeyDiagram-ZHPQQLJL-C1G4q1sS.js → journeyDiagram-ZHPQQLJL-BIzB9BVn.js} +1 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +3 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-toolbar.d.ts +10 -6
- package/dist/lib/components/ui/collections/data-table/select-checkbox.d.ts +5 -2
- package/dist/lib/components/ui/dates/calendar/calendar-classes.d.ts +45 -0
- package/dist/lib/components/ui/dates/calendar/calendar-weekday.d.ts +4 -0
- package/dist/lib/components/ui/feedback/banner/banner.d.ts +9 -4
- package/dist/lib/components/ui/feedback/toast/toast-classes.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/use-navigation-sheet.d.ts +3 -2
- package/dist/lib/components/ui/selection/select-chip-field/select-chip-field.d.ts +8 -3
- package/dist/main.js +2 -2
- package/dist/map.js +1 -1
- package/dist/material.css +1 -1
- package/dist/{mermaid.core-C74WUE6C.js → mermaid.core-6yWyNdZa.js} +21 -21
- package/dist/{mindmap-definition-NLK3R4M7-CFOfIsM7.js → mindmap-definition-NLK3R4M7-aHycauO9.js} +2 -2
- package/dist/{pieDiagram-5QR66LMP-B26Y_url.js → pieDiagram-5QR66LMP-DEiooyQu.js} +1 -1
- package/dist/{quadrantDiagram-O4NWA36T-vIoMpSWW.js → quadrantDiagram-O4NWA36T-CLlaqEdw.js} +1 -1
- package/dist/{requirementDiagram-PLB6GJNP-CL3H5GL7.js → requirementDiagram-PLB6GJNP-DD74Pa6_.js} +2 -2
- package/dist/{sankeyDiagram-IPEJSGJF-Wksiclao.js → sankeyDiagram-IPEJSGJF-DAR9G0yC.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-oLPhH1yQ.js → stateDiagram-v2-GCMORJYK-pti7a_r-.js} +2 -2
- package/dist/{swimlanes-2SLR337P-C6I2boWI.js → swimlanes-2SLR337P-D10pSc8m.js} +3 -3
- package/dist/{swimlanesDiagram-TC7HE7FX-zAPI0RjB.js → swimlanesDiagram-TC7HE7FX-B8HgZod5.js} +3 -3
- package/dist/{timeline-definition-EJHVYXUP-Dpsxn1Fj.js → timeline-definition-EJHVYXUP-D8CWcNj3.js} +1 -1
- package/dist/{usecaseDiagram-POWQR4AR-DLZ1ULxe.js → usecaseDiagram-POWQR4AR-DIdH4Oia.js} +2 -2
- package/dist/{xychartDiagram-PMCCYNJV-HJtnH7o5.js → xychartDiagram-PMCCYNJV-aecZdRhd.js} +1 -1
- package/docs/components/data-table-filter-and-lists.md +16 -8
- package/docs/components/date-and-time.md +8 -1
- package/docs/components/feedback-and-status.md +17 -1
- package/docs/components/primitives.md +7 -6
- package/docs/components/selection-and-choice.md +2 -0
- package/docs/guides/app-shell.md +2 -1
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/roadmap.md +90 -47
- package/docs/troubleshooting.md +129 -6
- package/lib/components/ui/primitives/label/label.css +14 -21
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 2.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#507](https://github.com/softistx/nxgt-material/pull/507) [`d4383ff`](https://github.com/softistx/nxgt-material/commit/d4383ff3c0915deafe1bd664c4c6d2eb7b247455) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A `SelectChipField` can be focused (softistx/nxgt-material#502). Its `ref` was the `role="group"` element, which a browser cannot focus, so `ref.current.focus()` and React Hook Form's `setFocus(name)` did nothing, or landed on the first chip even when one was chosen. In `@nxgt/material`, the `ref` now reaches the chosen chip, else the first, as a radio group puts focus on its checked radio (its type is `Ref<HTMLButtonElement>`, no longer the group's `HTMLDivElement`); `SelectChipFormField` hands React Hook Form's `field.ref` to that chip, so `shouldFocusError` and `setFocus` focus it. In `@nxgt/material-vue`, `SelectChipField` and `SelectChipFormField` expose `focus()` on a template ref. Apps can remove a lookup of the first chip made to focus the field (`Temporary, until material [#502](https://github.com/softistx/nxgt-material/issues/502)`). Fixes [#502](https://github.com/softistx/nxgt-material/issues/502).
|
|
8
|
+
|
|
9
|
+
**Migration (`@nxgt/material`).** The `ref` type changed. An app that passes React Hook Form's `field.ref`, or that does not type the ref, has nothing to change. An app that typed its own ref for the group, `useRef<HTMLDivElement>(null)`, gets a TypeScript error: change it to `useRef<HTMLButtonElement>(null)`. The ref now holds the chosen chip (else the first one), not the group.
|
|
10
|
+
|
|
11
|
+
## 2.11.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#504](https://github.com/softistx/nxgt-material/pull/504) [`c6f76a1`](https://github.com/softistx/nxgt-material/commit/c6f76a179087bd6c8b9a3698040dd001f08d8bda) Thanks [@SteveGT96](https://github.com/SteveGT96)! - The roadmaps describe the coming redesign.
|
|
16
|
+
- Updated dependencies [[`c6f76a1`](https://github.com/softistx/nxgt-material/commit/c6f76a179087bd6c8b9a3698040dd001f08d8bda)]:
|
|
17
|
+
- @nxgt/material-core@0.7.1
|
|
18
|
+
|
|
19
|
+
## 2.11.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [#494](https://github.com/softistx/nxgt-material/pull/494) [`0431e63`](https://github.com/softistx/nxgt-material/commit/0431e636780da1711ea294d3a4c05a918ceb974f) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A toast's `{ label }` action reads at 4.5:1 on the toast in both themes (Fixes [#489](https://github.com/softistx/nxgt-material/issues/489)). The action was a `tonal` `Button` in the page's tones on a 15 % primary tint, over a toast that is the inverse of the page: 2.5:1 in the light theme, 1.5:1 in the dark one. It now takes the other theme's primary tone on an opaque mix of primary toward the toast (9.4:1 light, 5.5:1 dark at rest, more hovered, focused or pressed). Apps can drop the "Temporary, until material [#489](https://github.com/softistx/nxgt-material/issues/489)" exclusion of `[data-slot="toast-action"]` from their `color-contrast` scans. A function action's own buttons are unchanged: give them colours measured on the toast.
|
|
24
|
+
|
|
25
|
+
`Banner` is a live region (Fixes [#491](https://github.com/softistx/nxgt-material/issues/491)): every tone, `error` included, is `role="status"` `aria-live="polite"` `aria-atomic="true"`. A modal layer that makes the page `inert` now keeps a mounted `Banner` reachable, so a change of its text is announced. React: `Banner` forwards the rest of its props (`id`, `data-*`, `aria-*`, `role`, handlers) to its root `<div>`, where they win over the defaults (`BannerProps` extends the `div`'s props but `title` and `children`), so an urgent banner can pass `role="alert"` (with `aria-live="assertive"`). Vue: its attributes already fell through to the root and win over the defaults, so `role="alert"` works there too. Apps can drop the "Temporary, until material [#491](https://github.com/softistx/nxgt-material/issues/491)" `<div aria-live="polite">` wrapped around a `Banner`, unless that `Banner` mounts while a modal layer is open (keep a live container that is in the page before the layer opens for that case). Nothing changes for tests: every `Banner` is still found with `getByRole('status')`. At the next major, an error `Banner` becomes `role="alert"` (see the roadmap).
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- [#493](https://github.com/softistx/nxgt-material/pull/493) [`a4f7962`](https://github.com/softistx/nxgt-material/commit/a4f79626002c5b2719175b0f2e7f25fec38d398c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A calendar's weekday row and its days reach 4.5:1 (WCAG 1.4.3) on the page and in a popover, in both themes. Fixes [#487](https://github.com/softistx/nxgt-material/issues/487), fixes [#488](https://github.com/softistx/nxgt-material/issues/488).
|
|
30
|
+
|
|
31
|
+
The base stylesheet tints every table header (`bg-primary/15`) and every other row (`bg-primary/5`), and the weekday row drew `--muted-foreground` on that header tint: 4.4:1 in the light theme, in `Calendar`, `DateField`, `DateRangeField` and `EventCalendar`'s date picker. It is now muted toward the foreground (`color-mix` of `--muted-foreground` and `--foreground`): 5.6:1 light, 6.2:1 dark on `--popover`, 7.0:1 dark on `--background`.
|
|
32
|
+
|
|
33
|
+
`@nxgt/material` only: every day's label was drawn at 70 % opacity, so the days of the neighbouring months (`.rdp-outside`, which can be picked) fell to 2.9:1 light and 3.4:1 dark, a range's middle days to 2.6:1 and the chosen day's label to 4.4:1. The labels are no longer faded: the neighbouring months' days keep `--muted-foreground` (5.1:1 light, 5.6:1 dark at least), a range's middle days use the weekday row's colour (5.6:1), and the other days are drawn at full strength, as in `@nxgt/material-vue`. A test or screenshot that relied on the faded labels will see them darker.
|
|
34
|
+
|
|
35
|
+
Apps can drop the workarounds marked `Temporary, until material [#487](https://github.com/softistx/nxgt-material/issues/487)` and `Temporary, until material [#488](https://github.com/softistx/nxgt-material/issues/488)`: an accessibility scan that skips `color-contrast` on `.rdp-weekday` (React) or `[data-slot="calendar-head-cell"]` (Vue), and on `.rdp-outside`.
|
|
36
|
+
|
|
37
|
+
- [#495](https://github.com/softistx/nxgt-material/pull/495) [`321ef19`](https://github.com/softistx/nxgt-material/commit/321ef1967e784a798cabbccca9ddf368f1d210bf) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `DataTable` spacing fixes. Fixes [#486](https://github.com/softistx/nxgt-material/issues/486).
|
|
38
|
+
|
|
39
|
+
- **"Select all" passes axe's `target-size` (WCAG 2.5.8).** The header row's checkbox failed when the next column was a sortable `DataTableColumnHeader`, whose button reaches 12px back into its cell (`-ml-3`): axe measures the 16px box itself, not its 24px `::before`, and the 24px circle around it met the button. The `select` column's checkboxes (header and rows) now keep a 12px margin after them (`me-3`; `ml-2` became `ms-2`), which widens that column by 12px. Apps can drop the workaround marked `Temporary, until material [#486](https://github.com/softistx/nxgt-material/issues/486)`: the axe `exclude` of `thead [data-slot="checkbox-field"]`. A `select` column of your own needs `me-3` on its checkboxes.
|
|
40
|
+
- **A wide empty state no longer sticks out of the table on a phone.** The empty state was sized to the scroll box's visible width (`--table-visible-width`) but drawn inside the `Table` container's 4px padding, so a custom `empty` as wide as its cell overflowed the box by 4px at 375px. It now takes the padding off its width and sticks 4px in. Nothing to change in your `empty`.
|
|
41
|
+
- **No band on tables without selection actions.** The toolbar's 68px band (`[data-slot="header-placeholder"]`, then the toolbar's `min-h-17`) is reserved only when the table has the `select` column and `actions`, so the first selection still does not move the rows. A table without the `select` column, or without `actions`, keeps no band above it, and a toolbar with real content (`showViewOptions`, a filter) renders as before. Stories now guard both. Nothing to change in your code.
|
|
42
|
+
|
|
43
|
+
- [#496](https://github.com/softistx/nxgt-material/pull/496) [`5c97ddd`](https://github.com/softistx/nxgt-material/commit/5c97ddd282eeda721b34f32d9c8ee87e83de067c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fixes [#490](https://github.com/softistx/nxgt-material/issues/490), fixes [#492](https://github.com/softistx/nxgt-material/issues/492).
|
|
44
|
+
|
|
45
|
+
A required `Label`'s mark is an `aria-hidden` inline SVG in the label's markup, no longer a CSS mask whose image was a `data:` URI ([#490](https://github.com/softistx/nxgt-material/issues/490)): a Content-Security-Policy whose `img-src` refuses `data:` (`img-src 'self'`) reported a violation on every form with a required field, and the mark did not render. It looks the same, the label's text and accessible name stay "Email" (the field's own `required` / `aria-required` says it is required), and it stays visible in forced-colors mode and in print. The `--label-required-mark` property and the `[data-slot="label-text"][data-required]::after` rule are gone; an app that still sets the property breaks nothing, the mark keeps its default look.
|
|
46
|
+
|
|
47
|
+
Migration, for an app that restyled the mark or worked around [#490](https://github.com/softistx/nxgt-material/issues/490) ("Temporary, until material [#490](https://github.com/softistx/nxgt-material/issues/490)"):
|
|
48
|
+
|
|
49
|
+
1. Search the app's CSS, inline styles and theme files for `--label-required-mark` (and for `[data-slot="label-text"][data-required]::after`).
|
|
50
|
+
2. Replace each override with CSS on `[data-slot="label-required-mark"]`, the SVG itself: `color` for its colour, `width` and `height` for its size. For example `[data-slot="label-required-mark"] { color: var(--color-error); width: 0.5em; height: 0.5em; }` (the defaults).
|
|
51
|
+
3. Delete any copy of the mark image the app serves (the SVG file or route that `--label-required-mark` pointed to), and its `img-src` exception if one was added for it.
|
|
52
|
+
|
|
53
|
+
After a link followed in the phone menu's sheet (`AppHeader` / `ActivityLayout`), or a navigation while it is open, the focus stays where the new screen put it inside `<main>` (an error page's `h1`, a step's title) instead of moving to `<main>` ([#492](https://github.com/softistx/nxgt-material/issues/492)). Apps can drop the "Temporary, until material [#492](https://github.com/softistx/nxgt-material/issues/492)" workaround that gives the focus back to the page's element after the sheet closes.
|
|
54
|
+
|
|
3
55
|
## 2.10.1
|
|
4
56
|
|
|
5
57
|
### Patch Changes
|
|
@@ -12,7 +12,7 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
|
12
12
|
import { i as se, n as ce, o as le, r as ue, s as de } from "./chunk-J5ZVWO5B-DmRRmhon.js";
|
|
13
13
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
14
14
|
import { i as fe, r as pe } from "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
15
|
-
import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-
|
|
15
|
+
import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-vmLFt9Cr.js";
|
|
16
16
|
//#region ../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
|
|
17
17
|
function ve(e) {
|
|
18
18
|
return Array.isArray(e);
|
|
@@ -5,7 +5,7 @@ import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
|
5
5
|
import { b as i, x as a } from "./chunk-O7XYJQB3-BChweQ_V.js";
|
|
6
6
|
import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
|
|
7
7
|
import { i as s, n as c, r as l, t as u } from "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
8
|
-
import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-
|
|
8
|
+
import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-vmLFt9Cr.js";
|
|
9
9
|
import { r as v, t as y } from "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
10
10
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3FUC2YCW.mjs
|
|
11
11
|
function b(e, { edgePathsClass: t = "edges edgePaths" } = {}) {
|
|
@@ -9,7 +9,7 @@ import { a as b } from "./chunk-7INBJB4K-k-I67NSP.js";
|
|
|
9
9
|
import { t as x } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
|
|
10
10
|
import { t as S } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
11
11
|
import { t as C } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
12
|
-
import { r as w, t as T } from "./chunk-GNY47TPC-
|
|
12
|
+
import { r as w, t as T } from "./chunk-GNY47TPC-DCFqYc_z.js";
|
|
13
13
|
import { n as E, t as D } from "./chunk-LNGE3PJU-DJjGTS7O.js";
|
|
14
14
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-7M6MHVWA.mjs
|
|
15
15
|
var ie = "flowchart-", ae = class {
|
|
@@ -5,7 +5,7 @@ import { b as r, s as i } from "./chunk-O7XYJQB3-BChweQ_V.js";
|
|
|
5
5
|
import { t as a } from "./chunk-DUW6YSOI-9R-v-IIp.js";
|
|
6
6
|
import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
|
|
7
7
|
import { r as s } from "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
8
|
-
import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-
|
|
8
|
+
import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-vmLFt9Cr.js";
|
|
9
9
|
import { r as f } from "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
10
10
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-GNY47TPC.mjs
|
|
11
11
|
var p = {
|
|
@@ -30,7 +30,7 @@ var p = {
|
|
|
30
30
|
], h = /* @__PURE__ */ Object.create(null), g = /* @__PURE__ */ n((e) => {
|
|
31
31
|
for (let t of e) h[t.name] = t;
|
|
32
32
|
}, "registerLayoutLoaders"), _ = /* @__PURE__ */ n(() => {
|
|
33
|
-
let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-
|
|
33
|
+
let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-DL4pxCSP.js"), "loader");
|
|
34
34
|
return [{
|
|
35
35
|
name: "elk",
|
|
36
36
|
loader: e,
|
|
@@ -45,11 +45,11 @@ var p = {
|
|
|
45
45
|
g([
|
|
46
46
|
{
|
|
47
47
|
name: "dagre",
|
|
48
|
-
loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-
|
|
48
|
+
loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-LmEtEC93.js"), "loader")
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
name: "swimlane",
|
|
52
|
-
loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-
|
|
52
|
+
loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-D10pSc8m.js"), "loader")
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
name: "cose-bilkent",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
2
|
-
import { o as t } from "./chunk-Z7XXMR3K-
|
|
2
|
+
import { o as t } from "./chunk-Z7XXMR3K-vmLFt9Cr.js";
|
|
3
3
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NETBCI7D.mjs
|
|
4
4
|
var n = 5, r = 1e-5, i = 2, a = .6, o = 1e-6;
|
|
5
5
|
function s(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { st as e } from "./components-
|
|
1
|
+
import { st as e } from "./components-BYxsGbyO.js";
|
|
2
2
|
import { n as t, t as n } from "./src-CsLQInsN.js";
|
|
3
3
|
import { _ as r, a as i, i as a, n as o, o as s, p as c, r as l, t as u, u as d, v as f } from "./step-Dt43c9X4.js";
|
|
4
4
|
import { K as p, g as m, q as h, u as g } from "./chunk-ZIGJFQKS-9VXArDKF.js";
|
|
@@ -9,12 +9,12 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
|
9
9
|
import { i as v, n as y, o as b, r as x } from "./chunk-J5ZVWO5B-DmRRmhon.js";
|
|
10
10
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
11
11
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
12
|
-
import "./chunk-Z7XXMR3K-
|
|
12
|
+
import "./chunk-Z7XXMR3K-vmLFt9Cr.js";
|
|
13
13
|
import { t as S } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
|
|
14
14
|
import { t as C } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
15
15
|
import { t as w } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
16
16
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
17
|
-
import { r as T, t as E } from "./chunk-GNY47TPC-
|
|
17
|
+
import { r as T, t as E } from "./chunk-GNY47TPC-DCFqYc_z.js";
|
|
18
18
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-NBCMYWYE.mjs
|
|
19
19
|
var D = (function() {
|
|
20
20
|
var e = /* @__PURE__ */ i(function(e, t, n, r) {
|
|
@@ -1,33 +1,26 @@
|
|
|
1
|
-
/* The required mark of `Label withAsterisk
|
|
2
|
-
* label's
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
/* The required mark of `Label withAsterisk`: an `aria-hidden` inline SVG in
|
|
2
|
+
* the label's markup, not a "*" in its text. A typed "*" joined the label's
|
|
3
|
+
* name ("Email *") for `getByLabel(…, { exact })`, `getByLabelText` and
|
|
4
|
+
* screen readers, and so does generated text (`content: "*"`). The field's
|
|
5
|
+
* own `required` / `aria-required` is what is announced. Drawn by the markup,
|
|
6
|
+
* it loads no image: a Content-Security-Policy whose `img-src` refuses
|
|
7
|
+
* `data:` draws it too. Restyle it from your own CSS: `color` for the colour,
|
|
8
|
+
* `width` / `height` for the size. */
|
|
9
|
+
[data-slot="label-required-mark"] {
|
|
10
10
|
display: inline-block;
|
|
11
11
|
flex: none;
|
|
12
12
|
align-self: flex-start;
|
|
13
13
|
width: 0.5em;
|
|
14
14
|
height: 0.5em;
|
|
15
15
|
margin-block-start: 0.05em;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
mask-image: var(--label-required-mark);
|
|
19
|
-
mask-size: contain;
|
|
20
|
-
mask-repeat: no-repeat;
|
|
21
|
-
mask-position: center;
|
|
22
|
-
/* A browser's print stylesheet drops backgrounds; this one is the mark. */
|
|
23
|
-
print-color-adjust: exact;
|
|
24
|
-
-webkit-print-color-adjust: exact;
|
|
16
|
+
color: var(--color-error);
|
|
17
|
+
overflow: visible;
|
|
25
18
|
}
|
|
26
19
|
|
|
27
|
-
/* Forced colours
|
|
20
|
+
/* Forced colours keep an SVG's `currentColor` stroke as authored;
|
|
28
21
|
* CanvasText keeps the mark visible on any theme. */
|
|
29
22
|
@media (forced-colors: active) {
|
|
30
|
-
[data-slot="label-
|
|
31
|
-
|
|
23
|
+
[data-slot="label-required-mark"] {
|
|
24
|
+
color: CanvasText;
|
|
32
25
|
}
|
|
33
26
|
}
|