@handamade/psi-react 0.20.0 → 0.21.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/README.md +1 -1
- package/dist/AppShell/AppShell.d.ts +51 -0
- package/dist/AppShell/AppShell.d.ts.map +1 -0
- package/dist/Banner/Banner.d.ts +35 -0
- package/dist/Banner/Banner.d.ts.map +1 -0
- package/dist/Button/Button.d.ts +4 -0
- package/dist/Button/Button.d.ts.map +1 -1
- package/dist/CopyButton/CopyButton.d.ts +23 -0
- package/dist/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/CursorPagination/CursorPagination.d.ts +29 -0
- package/dist/CursorPagination/CursorPagination.d.ts.map +1 -0
- package/dist/Field/Field.d.ts +11 -1
- package/dist/Field/Field.d.ts.map +1 -1
- package/dist/Field/useFieldControl.d.ts +40 -0
- package/dist/Field/useFieldControl.d.ts.map +1 -0
- package/dist/InlineAlert/InlineAlert.d.ts +32 -0
- package/dist/InlineAlert/InlineAlert.d.ts.map +1 -0
- package/dist/NavBar/NavBar.d.ts +10 -2
- package/dist/NavBar/NavBar.d.ts.map +1 -1
- package/dist/NavTree/NavGroup.d.ts +22 -0
- package/dist/NavTree/NavGroup.d.ts.map +1 -0
- package/dist/NavTree/NavItem.d.ts +25 -0
- package/dist/NavTree/NavItem.d.ts.map +1 -0
- package/dist/NavTree/NavTree.d.ts +23 -0
- package/dist/NavTree/NavTree.d.ts.map +1 -0
- package/dist/Skeleton/Skeleton.d.ts +22 -0
- package/dist/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/SkipLink/SkipLink.d.ts +25 -0
- package/dist/SkipLink/SkipLink.d.ts.map +1 -0
- package/dist/Table/Table.d.ts +6 -3
- package/dist/Table/Table.d.ts.map +1 -1
- package/dist/Table/TableBody.d.ts +7 -4
- package/dist/Table/TableBody.d.ts.map +1 -1
- package/dist/Table/TableCaption.d.ts +21 -0
- package/dist/Table/TableCaption.d.ts.map +1 -0
- package/dist/Table/TableCell.d.ts +15 -5
- package/dist/Table/TableCell.d.ts.map +1 -1
- package/dist/Table/TableHead.d.ts +5 -3
- package/dist/Table/TableHead.d.ts.map +1 -1
- package/dist/Table/TableHeaderCell.d.ts +5 -3
- package/dist/Table/TableHeaderCell.d.ts.map +1 -1
- package/dist/Table/TableRow.d.ts +5 -3
- package/dist/Table/TableRow.d.ts.map +1 -1
- package/dist/Toast/Announcement.d.ts +30 -0
- package/dist/Toast/Announcement.d.ts.map +1 -0
- package/dist/Toast/Toast.d.ts +16 -2
- package/dist/Toast/Toast.d.ts.map +1 -1
- package/dist/Toast/ToastProvider.d.ts.map +1 -1
- package/dist/Toast/ToastRegion.d.ts +16 -7
- package/dist/Toast/ToastRegion.d.ts.map +1 -1
- package/dist/Toast/status.d.ts +15 -0
- package/dist/Toast/status.d.ts.map +1 -0
- package/dist/Toast/useToast.d.ts +6 -1
- package/dist/Toast/useToast.d.ts.map +1 -1
- package/dist/Toolbar/Toolbar.d.ts +16 -4
- package/dist/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/a11y-meta.d.ts.map +1 -1
- package/dist/index.d.ts +29 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1377 -1065
- package/dist/manifest.json +1033 -240
- package/dist/patterns.json +671 -3
- package/dist/styles.css +1 -1
- package/docs/Announcement.md +37 -0
- package/docs/AppShell.md +46 -0
- package/docs/AspectRatio.md +1 -1
- package/docs/Banner.md +54 -0
- package/docs/Button.md +2 -1
- package/docs/Card.md +1 -1
- package/docs/Checkbox.md +1 -1
- package/docs/CopyButton.md +51 -0
- package/docs/CursorPagination.md +45 -0
- package/docs/DescriptionItem.md +1 -1
- package/docs/DescriptionList.md +1 -1
- package/docs/Dialog.md +1 -1
- package/docs/Field.md +3 -2
- package/docs/IconButton.md +1 -1
- package/docs/InlineAlert.md +53 -0
- package/docs/Input.md +1 -1
- package/docs/Menu.md +1 -1
- package/docs/MenuItem.md +1 -1
- package/docs/MenuSeparator.md +1 -1
- package/docs/NavBar.md +4 -2
- package/docs/NavGroup.md +40 -0
- package/docs/NavItem.md +40 -0
- package/docs/NavTree.md +39 -0
- package/docs/Pagination.md +1 -1
- package/docs/Panel.md +1 -1
- package/docs/Select.md +1 -1
- package/docs/Skeleton.md +50 -0
- package/docs/SkipLink.md +40 -0
- package/docs/Switch.md +1 -1
- package/docs/Tab.md +1 -1
- package/docs/TabList.md +1 -1
- package/docs/TabPanel.md +1 -1
- package/docs/Table.md +1 -1
- package/docs/TableBody.md +3 -2
- package/docs/TableCaption.md +39 -0
- package/docs/TableCell.md +5 -2
- package/docs/TableHead.md +2 -1
- package/docs/TableHeaderCell.md +2 -1
- package/docs/TableRow.md +2 -1
- package/docs/Tabs.md +1 -1
- package/docs/Tag.md +1 -1
- package/docs/Toast.md +5 -3
- package/docs/ToastProvider.md +1 -1
- package/docs/ToastRegion.md +4 -4
- package/docs/Toolbar.md +5 -3
- package/docs/Tooltip.md +1 -1
- package/llms.txt +39 -9
- package/package.json +2 -2
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export interface TableHeadProps {
|
|
1
|
+
import type { HTMLAttributes, ReactNode, Ref } from "react";
|
|
2
|
+
export interface TableHeadProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, "children"> {
|
|
3
3
|
/** The header TableRow. */
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
|
+
/** Forwarded ref to the `<thead>`. */
|
|
7
|
+
ref?: Ref<HTMLTableSectionElement>;
|
|
6
8
|
}
|
|
7
9
|
/** `<thead>`. When the table is selectable, prepends the select-all cell to
|
|
8
10
|
* the FIRST header row so the header's column count matches the body's — the
|
|
9
11
|
* checkbox column is Table's, not the consumer's schema. Clones the row
|
|
10
12
|
* rather than rebuilding it, so the consumer's own props on that `TableRow`
|
|
11
13
|
* survive. */
|
|
12
|
-
export declare function TableHead({ children, className }: TableHeadProps): import("react").JSX.Element;
|
|
14
|
+
export declare function TableHead({ children, className, ref, ...rest }: TableHeadProps): import("react").JSX.Element;
|
|
13
15
|
//# sourceMappingURL=TableHead.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../src/Table/TableHead.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../src/Table/TableHead.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAgB,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK1E,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,UAAU,CAAC;IAC/F,2BAA2B;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,GAAG,CAAC,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAC;CACpC;AAED;;;;cAIc;AACd,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAyB9E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export interface TableHeaderCellProps {
|
|
1
|
+
import type { ReactNode, Ref, ThHTMLAttributes } from "react";
|
|
2
|
+
export interface TableHeaderCellProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, "children"> {
|
|
3
3
|
/** Sort key this column emits. Enables the sort control when the table is `sortable`. */
|
|
4
4
|
sortKey?: string;
|
|
5
5
|
/** Right-aligns and renders tabular figures (D62). */
|
|
@@ -7,8 +7,10 @@ export interface TableHeaderCellProps {
|
|
|
7
7
|
/** Header label. */
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
className?: string;
|
|
10
|
+
/** Forwarded ref to the `<th>`. */
|
|
11
|
+
ref?: Ref<HTMLTableCellElement>;
|
|
10
12
|
}
|
|
11
13
|
/** `<th scope="col">`. `aria-sort` belongs on the th, never on the inner
|
|
12
14
|
* button — assistive tech reads the sort state from the column header. */
|
|
13
|
-
export declare function TableHeaderCell({ sortKey, numeric, children, className }: TableHeaderCellProps): import("react").JSX.Element;
|
|
15
|
+
export declare function TableHeaderCell({ sortKey, numeric, children, className, ref, ...rest }: TableHeaderCellProps): import("react").JSX.Element;
|
|
14
16
|
//# sourceMappingURL=TableHeaderCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../src/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../src/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAI9D,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,UAAU,CAAC;IACpG,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,oBAAoB,CAAC,CAAC;CACjC;AAED;0EAC0E;AAC1E,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,oBAAoB,+BAwC5G"}
|
package/dist/Table/TableRow.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
export interface TableRowProps {
|
|
1
|
+
import type { HTMLAttributes, ReactNode, Ref } from "react";
|
|
2
|
+
export interface TableRowProps extends Omit<HTMLAttributes<HTMLTableRowElement>, "children"> {
|
|
3
3
|
/** Stable identity for selection. Required for selectable tables (D62). */
|
|
4
4
|
rowId?: string;
|
|
5
5
|
/** Accessible name for this row's selection checkbox. */
|
|
@@ -7,7 +7,9 @@ export interface TableRowProps {
|
|
|
7
7
|
/** The row's cells. */
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
className?: string;
|
|
10
|
+
/** Forwarded ref to the `<tr>`. */
|
|
11
|
+
ref?: Ref<HTMLTableRowElement>;
|
|
10
12
|
}
|
|
11
13
|
/** `<tr>`. `rowId` is the key the `selected` set holds. */
|
|
12
|
-
export declare function TableRow({ rowId, selectLabel, children, className }: TableRowProps): import("react").JSX.Element;
|
|
14
|
+
export declare function TableRow({ rowId, selectLabel, children, className, ref, ...rest }: TableRowProps): import("react").JSX.Element;
|
|
13
15
|
//# sourceMappingURL=TableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../src/Table/TableRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../src/Table/TableRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK5D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC;IAC1F,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,mBAAmB,CAAC,CAAC;CAChC;AAED,2DAA2D;AAC3D,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,+BAiBhG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ToastPoliteness } from "./Toast.js";
|
|
3
|
+
export interface AnnouncementProps {
|
|
4
|
+
/** Which of ToastRegion's two live wrappers speaks it. @default "polite" */
|
|
5
|
+
politeness?: ToastPoliteness;
|
|
6
|
+
/** The text to announce. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** Text for a screen reader only, spoken through ToastRegion (D83).
|
|
10
|
+
*
|
|
11
|
+
* **It is not a live region.** It renders no `role` and no `aria-live`, and
|
|
12
|
+
* outside a ToastRegion it announces nothing — the region's two persistent
|
|
13
|
+
* wrappers are the only live regions, and an Announcement is content for one
|
|
14
|
+
* of them. Do not use it as a second announcer.
|
|
15
|
+
*
|
|
16
|
+
* Use it where an event must be spoken and there is nothing to show: a state
|
|
17
|
+
* change of the object on screen, or field errors the form already displays.
|
|
18
|
+
*
|
|
19
|
+
* `politeness` is not read here. ToastRegion reads it off the element to pick
|
|
20
|
+
* a wrapper, the same way it reads a Toast's.
|
|
21
|
+
*
|
|
22
|
+
* Controlled, like Toast: it holds no state and never removes itself. Remove
|
|
23
|
+
* it once it has been spoken. To announce the same text again, remove it and
|
|
24
|
+
* render it again with a new `key` — a live region speaks changes, and an
|
|
25
|
+
* unchanged node is not one.
|
|
26
|
+
*
|
|
27
|
+
* It takes no `className`: the one thing a class could do to it is make it
|
|
28
|
+
* visible, and then it is a Toast. */
|
|
29
|
+
export declare function Announcement({ children }: AnnouncementProps): import("react").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=Announcement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Announcement.d.ts","sourceRoot":"","sources":["../../src/Toast/Announcement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,4BAA4B;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;sCAmBsC;AACtC,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAM3D"}
|
package/dist/Toast/Toast.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { ReactNode, Ref } from "react";
|
|
2
|
-
|
|
2
|
+
import type { StatusVariant } from "./status.js";
|
|
3
|
+
/** Toast's variants are the shared status axis (see status.ts). */
|
|
4
|
+
export type ToastVariant = StatusVariant;
|
|
5
|
+
/** Which of ToastRegion's two live wrappers speaks a child (D83). */
|
|
6
|
+
export type ToastPoliteness = "polite" | "assertive";
|
|
3
7
|
export interface ToastProps {
|
|
4
8
|
/** Status variant. @default "neutral" */
|
|
5
9
|
variant?: ToastVariant;
|
|
@@ -10,6 +14,15 @@ export interface ToastProps {
|
|
|
10
14
|
/** When provided, renders the dismiss button and calls this. Toast does not
|
|
11
15
|
* remove itself; the owner disposes. */
|
|
12
16
|
onDismiss?: () => void;
|
|
17
|
+
/** Which live wrapper ToastRegion routes this toast into (D83). Unset, the
|
|
18
|
+
* variant decides: neutral and success are polite, warning and danger
|
|
19
|
+
* assertive. Set it when the kind of event, not its tone, decides — the
|
|
20
|
+
* outcome of the user's own action may interrupt even when it succeeded. */
|
|
21
|
+
politeness?: ToastPoliteness;
|
|
22
|
+
/** The visually hidden status word (D83). A string replaces the default
|
|
23
|
+
* ("Success:", "Warning:", "Error:") — pass the translated word; `null`
|
|
24
|
+
* drops it. Unset keeps the default, and `neutral` has none. */
|
|
25
|
+
statusLabel?: string | null;
|
|
13
26
|
className?: string;
|
|
14
27
|
/** Forwarded ref to the underlying `<div>`. */
|
|
15
28
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -22,8 +35,9 @@ export interface ToastProps {
|
|
|
22
35
|
* two persistent wrappers inside ToastRegion, because a live region must
|
|
23
36
|
* pre-exist the content it announces; a role on the toast itself would
|
|
24
37
|
* reintroduce the mount-with-content problem one level down.
|
|
38
|
+
* `politeness` (D83) only tells the region which wrapper to use.
|
|
25
39
|
*
|
|
26
40
|
* Composed by hand with ToastRegion for full control, or driven by
|
|
27
41
|
* ToastProvider's queue. */
|
|
28
|
-
export declare function Toast({ variant, children, action, onDismiss, className, ref, }: ToastProps): import("react").JSX.Element;
|
|
42
|
+
export declare function Toast({ variant, children, action, onDismiss, statusLabel, className, ref, }: ToastProps): import("react").JSX.Element;
|
|
29
43
|
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,mEAAmE;AACnE,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AAEzC,qEAAqE;AACrE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,WAAW,CAAC;AAErD,MAAM,WAAW,UAAU;IACzB,yCAAyC;IACzC,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,gEAAgE;IAChE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;4CACwC;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;gFAG4E;IAC5E,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B;;oEAEgE;IAChE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AASD;;;;;;;;;;;4BAW4B;AAC5B,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,QAAQ,EACR,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,GAAG,GACJ,EAAE,UAAU,+BA6BZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../src/Toast/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIvD,MAAM,WAAW,kBAAkB;IACjC,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;gFAC4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,mFAAmF;IACnF,QAAQ,EAAE,SAAS,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../src/Toast/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIvD,MAAM,WAAW,kBAAkB;IACjC,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;gFAC4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,mFAAmF;IACnF,QAAQ,EAAE,SAAS,CAAC;CACrB;AAsBD;;;;;;;;;;;;;;;;YAgBY;AACZ,wBAAgB,aAAa,CAAC,EAC5B,KAAS,EACT,QAAe,EACf,cAAsB,EACtB,SAAwB,EACxB,QAAQ,GACT,EAAE,kBAAkB,+BAmIpB"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { ReactNode, Ref } from "react";
|
|
1
|
+
import type { HTMLAttributes, ReactNode, Ref } from "react";
|
|
2
2
|
export type ToastPlacement = "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
3
|
-
export interface ToastRegionProps {
|
|
3
|
+
export interface ToastRegionProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
4
4
|
/** Corner the stack occupies. @default "bottom-end" */
|
|
5
5
|
placement?: ToastPlacement;
|
|
6
6
|
/** Accessible name for the region. @default "Notifications" */
|
|
7
7
|
"aria-label"?: string;
|
|
8
|
-
/** The
|
|
8
|
+
/** The stack — `Toast` and `Announcement` elements, each routed to a live
|
|
9
|
+
* wrapper by its `politeness`, or by a Toast's variant when it names none. */
|
|
9
10
|
children: ReactNode;
|
|
10
11
|
className?: string;
|
|
11
12
|
/** Forwarded ref to the region element. */
|
|
@@ -27,8 +28,10 @@ export interface ToastRegionProps {
|
|
|
27
28
|
* confirmation for the action a user just took inside a dialog. And `auto`
|
|
28
29
|
* would be dismissed by the very click that raised the toast.
|
|
29
30
|
*
|
|
30
|
-
* Routing reads `variant
|
|
31
|
-
* Table uses for select-all injection.
|
|
31
|
+
* Routing reads `politeness`, then `variant`, off each child — the same
|
|
32
|
+
* Children.map technique Table uses for select-all injection. `politeness`
|
|
33
|
+
* wins (D83): the owner of an announcement knows what kind of event it is,
|
|
34
|
+
* and tone is only the default.
|
|
32
35
|
*
|
|
33
36
|
* Consequence of the split, visible in the `InRegion` VR baseline: the stack is
|
|
34
37
|
* grouped by politeness, not strictly chronological — every assertive toast
|
|
@@ -37,6 +40,12 @@ export interface ToastRegionProps {
|
|
|
37
40
|
* live region with a politeness that changes per message, which is the thing
|
|
38
41
|
* the two wrappers exist to avoid. Accepted: at `limit` 3 the grouping reads as
|
|
39
42
|
* severity ordering, and the newest toast still lands nearest the screen edge
|
|
40
|
-
* within its group.
|
|
41
|
-
|
|
43
|
+
* within its group.
|
|
44
|
+
*
|
|
45
|
+
* Remaining HTML attributes, `data-*` included, are spread onto the root
|
|
46
|
+
* element (D83). That is how an application marks the region
|
|
47
|
+
* `data-react-aria-top-layer`, so that a React Aria overlay — which hides
|
|
48
|
+
* everything outside itself with `aria-hidden` — leaves the two live regions
|
|
49
|
+
* exposed. The region's own attributes always win. */
|
|
50
|
+
export declare function ToastRegion({ placement, "aria-label": ariaLabel, children, className, ref, ...rest }: ToastRegionProps): import("react").JSX.Element;
|
|
42
51
|
//# sourceMappingURL=ToastRegion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastRegion.d.ts","sourceRoot":"","sources":["../../src/Toast/ToastRegion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ToastRegion.d.ts","sourceRoot":"","sources":["../../src/Toast/ToastRegion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAM5D,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,SAAS,GAAG,cAAc,GAAG,YAAY,CAAC;AAErF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxF,uDAAuD;IACvD,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;kFAC8E;IAC9E,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAmBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAkCsD;AACtD,wBAAgB,WAAW,CAAC,EAC1B,SAAwB,EACxB,YAAY,EAAE,SAA2B,EACzC,QAAQ,EACR,SAAS,EACT,GAAG,EACH,GAAG,IAAI,EACR,EAAE,gBAAgB,+BAsDlB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconInfo } from "../icons/index.js";
|
|
2
|
+
/** The status axis every feedback component shares: Toast (D64), and Banner
|
|
3
|
+
* and InlineAlert (D86). `neutral` carries no status. */
|
|
4
|
+
export type StatusVariant = "neutral" | "success" | "warning" | "danger";
|
|
5
|
+
/** The variant's icon, always rendered `aria-hidden`: the meaning is carried
|
|
6
|
+
* by the status word, never by colour and shape alone. */
|
|
7
|
+
export declare const statusIcons: Record<StatusVariant, typeof IconInfo>;
|
|
8
|
+
/** Visually hidden status word, so the variant's meaning never rests on
|
|
9
|
+
* colour and shape alone. `neutral` carries no status, so it gets no prefix.
|
|
10
|
+
* A component's `statusLabel` (D83) replaces it (string) or drops it (null). */
|
|
11
|
+
export declare const statusPrefix: Record<StatusVariant, string | null>;
|
|
12
|
+
/** The word a component renders: the default for the variant unless the
|
|
13
|
+
* consumer set `statusLabel`. */
|
|
14
|
+
export declare function resolveStatusPrefix(variant: StatusVariant, statusLabel: string | null | undefined): string | null;
|
|
15
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/Toast/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAE3B;yDACyD;AACzD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEzE;0DAC0D;AAC1D,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,aAAa,EAAE,OAAO,QAAQ,CAK9D,CAAC;AAEF;;gFAEgF;AAChF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAK7D,CAAC;AAEF;iCACiC;AACjC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAEjH"}
|
package/dist/Toast/useToast.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import type { ToastVariant } from "./Toast.js";
|
|
2
|
+
import type { ToastPoliteness, ToastVariant } from "./Toast.js";
|
|
3
3
|
export interface ToastOptions {
|
|
4
4
|
/** @default "neutral" */
|
|
5
5
|
variant?: ToastVariant;
|
|
@@ -8,6 +8,11 @@ export interface ToastOptions {
|
|
|
8
8
|
/** Trailing affordance — a ghost Button. Its presence also selects the
|
|
9
9
|
* longer auto-dismiss (`actionDuration`). */
|
|
10
10
|
action?: ReactNode;
|
|
11
|
+
/** Which live wrapper speaks the toast (D83). Unset, the variant decides. */
|
|
12
|
+
politeness?: ToastPoliteness;
|
|
13
|
+
/** The visually hidden status word (D83): a string replaces the default,
|
|
14
|
+
* `null` drops it, unset keeps it. */
|
|
15
|
+
statusLabel?: string | null;
|
|
11
16
|
}
|
|
12
17
|
export interface ToastHandle {
|
|
13
18
|
/** Queue a toast; returns its id. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/Toast/useToast.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/Toast/useToast.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEhE,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,wBAAwB;IACxB,OAAO,EAAE,SAAS,CAAC;IACnB;iDAC6C;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B;0CACsC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,qCAAqC;IACrC,IAAI,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,MAAM,CAAC;IACtC,4DAA4D;IAC5D,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,iCAAiC;IACjC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,6CAA0C,CAAC;AAEpE;;;;+CAI+C;AAC/C,wBAAgB,QAAQ,IAAI,WAAW,CAUtC"}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import type { HTMLAttributes, Ref, ReactNode } from "react";
|
|
2
2
|
type Gap = 8 | 12 | 16;
|
|
3
|
-
export interface ToolbarProps extends HTMLAttributes<
|
|
3
|
+
export interface ToolbarProps extends HTMLAttributes<HTMLElement> {
|
|
4
4
|
/** The controls. */
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
/** Gap between controls in px. @default 8 */
|
|
7
7
|
gap?: Gap;
|
|
8
|
+
/** Cross-axis alignment. `end` lines items up on their bottom edge, so
|
|
9
|
+
* controls under visible Field labels and a button without one share a
|
|
10
|
+
* control line (D87). It lines up each item's *last* line: a Field in an
|
|
11
|
+
* end-aligned row must end on its control — no description or error line
|
|
12
|
+
* under it; put a hint in the label. @default "center" */
|
|
13
|
+
align?: "center" | "end";
|
|
14
|
+
/** Root element. `form` renders a real `<form>`, so a submit Button
|
|
15
|
+
* submits it and Enter in a field does too; with `aria-label` it is a
|
|
16
|
+
* named form landmark, so it takes no `role="group"` (D87). Wire
|
|
17
|
+
* `onSubmit`. @default "div" */
|
|
18
|
+
as?: "div" | "form";
|
|
8
19
|
/** Forwarded ref to the root element. */
|
|
9
|
-
ref?: Ref<HTMLDivElement>;
|
|
20
|
+
ref?: Ref<HTMLDivElement | HTMLFormElement>;
|
|
10
21
|
}
|
|
11
22
|
/** Horizontal grouping row for filter/search controls (D52). Wraps on
|
|
12
23
|
* overflow; zero JS. Deliberately NOT ARIA role="toolbar" — that role
|
|
13
24
|
* contracts roving-tabindex arrow-key navigation, wrong for form controls.
|
|
14
|
-
* With aria-label it announces as role="group"
|
|
15
|
-
|
|
25
|
+
* With aria-label it announces as role="group"; as a form, as a named form
|
|
26
|
+
* landmark instead (D87). */
|
|
27
|
+
export declare function Toolbar({ gap, align, as, className, children, ref, ...rest }: ToolbarProps): import("react").JSX.Element;
|
|
16
28
|
export {};
|
|
17
29
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../src/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvB,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../src/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvB,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D,oBAAoB;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6CAA6C;IAC7C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV;;;;8DAI0D;IAC1D,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACzB;;;oCAGgC;IAChC,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACpB,yCAAyC;IACzC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,eAAe,CAAC,CAAC;CAC7C;AAID;;;;6BAI6B;AAC7B,wBAAgB,OAAO,CAAC,EAAE,GAAO,EAAE,KAAgB,EAAE,EAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,YAAY,+BAqBjH"}
|
package/dist/a11y-meta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11y-meta.d.ts","sourceRoot":"","sources":["../src/a11y-meta.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"a11y-meta.d.ts","sourceRoot":"","sources":["../src/a11y-meta.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAqO9C,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,10 +12,22 @@ export { DescriptionItem } from "./DescriptionList/DescriptionItem.js";
|
|
|
12
12
|
export type { DescriptionItemProps } from "./DescriptionList/DescriptionItem.js";
|
|
13
13
|
export { NavBar } from "./NavBar/NavBar.js";
|
|
14
14
|
export type { NavBarProps } from "./NavBar/NavBar.js";
|
|
15
|
+
export { SkipLink } from "./SkipLink/SkipLink.js";
|
|
16
|
+
export type { SkipLinkProps } from "./SkipLink/SkipLink.js";
|
|
17
|
+
export { NavTree } from "./NavTree/NavTree.js";
|
|
18
|
+
export type { NavTreeProps } from "./NavTree/NavTree.js";
|
|
19
|
+
export { NavGroup } from "./NavTree/NavGroup.js";
|
|
20
|
+
export type { NavGroupProps } from "./NavTree/NavGroup.js";
|
|
21
|
+
export { NavItem } from "./NavTree/NavItem.js";
|
|
22
|
+
export type { NavItemProps } from "./NavTree/NavItem.js";
|
|
23
|
+
export { AppShell } from "./AppShell/AppShell.js";
|
|
24
|
+
export type { AppShellProps } from "./AppShell/AppShell.js";
|
|
15
25
|
export { AspectRatio } from "./AspectRatio/AspectRatio.js";
|
|
16
26
|
export type { AspectRatioProps } from "./AspectRatio/AspectRatio.js";
|
|
17
|
-
export { Field } from "./Field/Field.js";
|
|
18
|
-
export type { FieldProps } from "./Field/Field.js";
|
|
27
|
+
export { Field, FieldContext } from "./Field/Field.js";
|
|
28
|
+
export type { FieldProps, FieldContextValue } from "./Field/Field.js";
|
|
29
|
+
export { useFieldControl } from "./Field/useFieldControl.js";
|
|
30
|
+
export type { FieldControlProps } from "./Field/useFieldControl.js";
|
|
19
31
|
export { Dialog } from "./Dialog/Dialog.js";
|
|
20
32
|
export type { DialogProps } from "./Dialog/Dialog.js";
|
|
21
33
|
export { Input } from "./Input/Input.js";
|
|
@@ -49,14 +61,28 @@ export { TableHeaderCell } from "./Table/TableHeaderCell.js";
|
|
|
49
61
|
export type { TableHeaderCellProps } from "./Table/TableHeaderCell.js";
|
|
50
62
|
export { TableCell } from "./Table/TableCell.js";
|
|
51
63
|
export type { TableCellProps } from "./Table/TableCell.js";
|
|
64
|
+
export { TableCaption } from "./Table/TableCaption.js";
|
|
65
|
+
export type { TableCaptionProps } from "./Table/TableCaption.js";
|
|
52
66
|
export { Pagination } from "./Pagination/Pagination.js";
|
|
53
67
|
export type { PaginationProps } from "./Pagination/Pagination.js";
|
|
68
|
+
export { CursorPagination } from "./CursorPagination/CursorPagination.js";
|
|
69
|
+
export type { CursorPaginationProps } from "./CursorPagination/CursorPagination.js";
|
|
54
70
|
export { Toast } from "./Toast/Toast.js";
|
|
55
|
-
export type { ToastProps, ToastVariant } from "./Toast/Toast.js";
|
|
71
|
+
export type { ToastProps, ToastVariant, ToastPoliteness } from "./Toast/Toast.js";
|
|
56
72
|
export { ToastRegion } from "./Toast/ToastRegion.js";
|
|
57
73
|
export type { ToastRegionProps, ToastPlacement } from "./Toast/ToastRegion.js";
|
|
58
74
|
export { ToastProvider } from "./Toast/ToastProvider.js";
|
|
59
75
|
export type { ToastProviderProps } from "./Toast/ToastProvider.js";
|
|
76
|
+
export { Announcement } from "./Toast/Announcement.js";
|
|
77
|
+
export type { AnnouncementProps } from "./Toast/Announcement.js";
|
|
78
|
+
export { Banner } from "./Banner/Banner.js";
|
|
79
|
+
export type { BannerProps, BannerVariant } from "./Banner/Banner.js";
|
|
80
|
+
export { InlineAlert } from "./InlineAlert/InlineAlert.js";
|
|
81
|
+
export type { InlineAlertProps, InlineAlertVariant } from "./InlineAlert/InlineAlert.js";
|
|
82
|
+
export { Skeleton } from "./Skeleton/Skeleton.js";
|
|
83
|
+
export type { SkeletonProps } from "./Skeleton/Skeleton.js";
|
|
84
|
+
export { CopyButton } from "./CopyButton/CopyButton.js";
|
|
85
|
+
export type { CopyButtonProps } from "./CopyButton/CopyButton.js";
|
|
60
86
|
export { Tabs, TabsContext } from "./Tabs/Tabs.js";
|
|
61
87
|
export type { TabsProps, TabsOrientation, TabsContextValue } from "./Tabs/Tabs.js";
|
|
62
88
|
export { TabList } from "./Tabs/TabList.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,MAAM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