@leonardaustin/ui 0.15.0 → 0.17.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/dist/components/tables/Pagination.d.ts +12 -2
- package/dist/components/tables/Pagination.d.ts.map +1 -1
- package/dist/components/tables/Table.d.ts +3 -1
- package/dist/components/tables/Table.d.ts.map +1 -1
- package/dist/components/ui/DropdownMenu.d.ts +23 -5
- package/dist/components/ui/DropdownMenu.d.ts.map +1 -1
- package/dist/components/ui/FieldContext.d.ts +10 -0
- package/dist/components/ui/FieldContext.d.ts.map +1 -1
- package/dist/components/ui/FormField.d.ts +10 -2
- package/dist/components/ui/FormField.d.ts.map +1 -1
- package/dist/components/ui/Inline.d.ts +1 -1
- package/dist/components/ui/PaginationBar.d.ts +8 -1
- package/dist/components/ui/PaginationBar.d.ts.map +1 -1
- package/dist/components/ui/Select.d.ts +17 -6
- package/dist/components/ui/Select.d.ts.map +1 -1
- package/dist/components/ui/SelectDropdown.d.ts +9 -9
- package/dist/components/ui/SelectDropdown.d.ts.map +1 -1
- package/dist/components/ui/Toast.d.ts +13 -2
- package/dist/components/ui/Toast.d.ts.map +1 -1
- package/dist/components/ui/Toggle.d.ts +5 -1
- package/dist/components/ui/Toggle.d.ts.map +1 -1
- package/dist/components/ui/useFieldControl.d.ts +1 -0
- package/dist/components/ui/useFieldControl.d.ts.map +1 -1
- package/dist/index.js +2188 -1976
- package/dist/styles.css +44 -0
- package/package.json +1 -1
|
@@ -1,11 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
1
2
|
interface PaginationProps {
|
|
2
3
|
/** Current page, 1-based. */
|
|
3
4
|
page: number;
|
|
4
|
-
/** Total
|
|
5
|
+
/** Total pages. With no caption or loading state, hides when this is 1 or less. */
|
|
5
6
|
totalPages: number;
|
|
6
7
|
/** Called with the new page number when a page button or the previous/next arrow is clicked. */
|
|
7
8
|
onPageChange: (page: number) => void;
|
|
9
|
+
/** Disable navigation while the next page is loading. */
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
/** Optional item total, displayed as “N in total”. */
|
|
12
|
+
total?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Replace the total caption with content or a formatter (which gets
|
|
15
|
+
* `total`, possibly undefined). `null` hides the caption.
|
|
16
|
+
*/
|
|
17
|
+
summary?: ReactNode | ((total: number | undefined) => ReactNode);
|
|
8
18
|
}
|
|
9
|
-
export declare function Pagination({ page, totalPages, onPageChange, }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
export declare function Pagination({ page, totalPages, onPageChange, loading, total, summary, }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
20
|
export {};
|
|
11
21
|
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/tables/Pagination.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/tables/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,UAAU,eAAe;IACvB,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,UAAU,EAAE,MAAM,CAAC;IACnB,gGAAgG;IAChG,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,SAAS,CAAC,CAAC;CAClE;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,OAAe,EACf,KAAK,EACL,OAAO,GACR,EAAE,eAAe,kDA8FjB"}
|
|
@@ -34,8 +34,10 @@ export interface TableHeaderCellProps extends Omit<ComponentPropsWithRef<"th">,
|
|
|
34
34
|
numeric?: boolean;
|
|
35
35
|
/** Current sort direction, exposed as `aria-sort`. */
|
|
36
36
|
sort?: "ascending" | "descending" | "none";
|
|
37
|
+
/** Reports the requested next direction. Sorting and state updates belong to the caller. */
|
|
38
|
+
onSort?: (direction: "ascending" | "descending") => void;
|
|
37
39
|
}
|
|
38
|
-
export declare function TableHeaderCell({ numeric, align, sort, scope, className, style, ...props }: TableHeaderCellProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function TableHeaderCell({ numeric, align, sort, onSort, scope, className, style, children, ...props }: TableHeaderCellProps): import("react/jsx-runtime").JSX.Element;
|
|
39
41
|
export interface TableCellProps extends Omit<ComponentPropsWithRef<"td">, "align"> {
|
|
40
42
|
/** Horizontal text alignment of the cell. */
|
|
41
43
|
align?: CSSProperties["textAlign"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/tables/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/tables/Table.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
interface
|
|
1
|
+
import { type AnchorHTMLAttributes, type ReactNode, type RefAttributes } from "react";
|
|
2
|
+
interface DropdownItemContent {
|
|
3
3
|
label: string;
|
|
4
4
|
icon?: ReactNode;
|
|
5
5
|
shortcut?: string;
|
|
6
|
+
/** Content shown after the label, such as a count or Badge. */
|
|
7
|
+
badge?: ReactNode;
|
|
6
8
|
/**
|
|
7
9
|
* Shows a check mark. Setting it (true or false) makes the item a
|
|
8
10
|
* `menuitemcheckbox` (or `menuitemradio`, see `type`) with `aria-checked`.
|
|
@@ -19,10 +21,22 @@ interface DropdownContentItem {
|
|
|
19
21
|
* typeahead, and does nothing when clicked.
|
|
20
22
|
*/
|
|
21
23
|
disabled?: boolean;
|
|
22
|
-
onClick: () => void;
|
|
23
24
|
danger?: boolean;
|
|
24
25
|
divider?: false;
|
|
25
26
|
}
|
|
27
|
+
export interface DropdownActionItem extends DropdownItemContent {
|
|
28
|
+
href?: never;
|
|
29
|
+
onClick: () => void;
|
|
30
|
+
}
|
|
31
|
+
export interface DropdownLinkItem extends DropdownItemContent {
|
|
32
|
+
href: string;
|
|
33
|
+
target?: AnchorHTMLAttributes<HTMLAnchorElement>["target"];
|
|
34
|
+
rel?: string;
|
|
35
|
+
download?: AnchorHTMLAttributes<HTMLAnchorElement>["download"];
|
|
36
|
+
"aria-current"?: AnchorHTMLAttributes<HTMLAnchorElement>["aria-current"];
|
|
37
|
+
onClick?: () => void;
|
|
38
|
+
}
|
|
39
|
+
type DropdownContentItem = DropdownActionItem | DropdownLinkItem;
|
|
26
40
|
interface DropdownDivider {
|
|
27
41
|
divider: true;
|
|
28
42
|
}
|
|
@@ -35,8 +49,12 @@ interface DropdownMenuProps {
|
|
|
35
49
|
* `role="button"`.
|
|
36
50
|
*/
|
|
37
51
|
trigger: ReactNode;
|
|
38
|
-
/** Menu entries: actions (`label` + `
|
|
52
|
+
/** Menu entries: actions, links (`label` + `href`), and dividers. */
|
|
39
53
|
items: DropdownItem[];
|
|
54
|
+
/** Informational content above, and outside, the menu items. */
|
|
55
|
+
header?: ReactNode;
|
|
56
|
+
/** Render a real anchor and forward every supplied prop, including ref. */
|
|
57
|
+
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & RefAttributes<HTMLAnchorElement>, item: DropdownLinkItem) => ReactNode;
|
|
40
58
|
/**
|
|
41
59
|
* Which trigger edge the menu lines up with: `right` (the default) keeps
|
|
42
60
|
* right edges together, `left` keeps left edges together. Near a viewport
|
|
@@ -58,6 +76,6 @@ interface DropdownMenuProps {
|
|
|
58
76
|
* Space activates. Escape closes and returns focus to the trigger, as does
|
|
59
77
|
* choosing an item; Tab closes and moves on. Disabled items are skipped.
|
|
60
78
|
*/
|
|
61
|
-
export declare function DropdownMenu({ trigger, items, align, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
export declare function DropdownMenu({ trigger, items, header, renderLink, align, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
62
80
|
export {};
|
|
63
81
|
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,oBAAoB,EAIzB,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAWf,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC3D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC;IAC/D,cAAc,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,KAAK,mBAAmB,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;AAEjE,UAAU,eAAe;IACvB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,eAAe,CAAC;AAEjE,UAAU,iBAAiB;IACzB;;;;;OAKG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB,qEAAqE;IACrE,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,gEAAgE;IAChE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,CACX,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,GAC5C,aAAa,CAAC,iBAAiB,CAAC,EAClC,IAAI,EAAE,gBAAgB,KACnB,SAAS,CAAC;IACf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAYD;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,KAAK,EACL,MAAM,EACN,UAAU,EACV,KAAe,GAChB,EAAE,iBAAiB,2CAmYnB"}
|
|
@@ -3,6 +3,16 @@ export interface FieldContextValue {
|
|
|
3
3
|
describedBy?: string;
|
|
4
4
|
invalid?: boolean;
|
|
5
5
|
required?: boolean;
|
|
6
|
+
/** Text a single-value Select or SelectDropdown shows in its empty closed control instead of a visible field label. */
|
|
7
|
+
placeholderLabel?: string;
|
|
8
|
+
/** Id the field's visible label takes once a control calls `claimLabel`. */
|
|
9
|
+
labelId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Gives the label `labelId` while the calling control is mounted, for a
|
|
12
|
+
* control that names itself by the label plus its own text. Returns the
|
|
13
|
+
* cleanup. Native controls never call it, so their label keeps no id.
|
|
14
|
+
*/
|
|
15
|
+
claimLabel?: () => () => void;
|
|
6
16
|
}
|
|
7
17
|
export declare const FieldContext: import("react").Context<FieldContextValue | null>;
|
|
8
18
|
export declare function describeField(...ids: (string | undefined)[]): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldContext.d.ts","sourceRoot":"","sources":["../../../src/components/ui/FieldContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldContext.d.ts","sourceRoot":"","sources":["../../../src/components/ui/FieldContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uHAAuH;IACvH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,MAAM,IAAI,CAAC;CAC/B;AACD,eAAO,MAAM,YAAY,mDAAgD,CAAC;AAE1E,wBAAgB,aAAa,CAAC,GAAG,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,sBAM3D"}
|
|
@@ -18,10 +18,18 @@ export interface FormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, "ch
|
|
|
18
18
|
required?: boolean;
|
|
19
19
|
/** Text shown beside the label when the field is not required, e.g. "(optional)". */
|
|
20
20
|
optionalLabel?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* `"placeholder"` visually hides the label and asks a child single-value
|
|
23
|
+
* `Select` or `SelectDropdown` without its own label to show the label text in its empty closed
|
|
24
|
+
* control. The label stays the accessible name. Only a string label can be
|
|
25
|
+
* shown as a placeholder; any other label stays above. Use it only around a
|
|
26
|
+
* single-value Select or SelectDropdown.
|
|
27
|
+
*/
|
|
28
|
+
labelPlacement?: "above" | "placeholder";
|
|
21
29
|
children: ReactNode | ((attributes: FieldControlAttributes) => ReactNode);
|
|
22
30
|
}
|
|
23
|
-
/** Label, hint and error association for one
|
|
24
|
-
export declare function FormField({ id, label, hint, error, required, optionalLabel, children, className, ...props }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
/** Label, hint and error association for one control. */
|
|
32
|
+
export declare function FormField({ id, label, hint, error, required, optionalLabel, labelPlacement, children, className, ...props }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
25
33
|
/** Standalone hint text for custom controls; connect its ID with aria-describedby. */
|
|
26
34
|
export declare function FieldHint({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): import("react/jsx-runtime").JSX.Element;
|
|
27
35
|
/** Standalone field error associated with its control. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/ui/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/ui/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC1C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,+EAA+E;IAC/E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,KAAK,EAAE,SAAS,CAAC;IACjB,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qFAAqF;IACrF,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;IACzC,QAAQ,EAAE,SAAS,GAAG,CAAC,CAAC,UAAU,EAAE,sBAAsB,KAAK,SAAS,CAAC,CAAC;CAC3E;AAED,yDAAyD;AACzD,wBAAgB,SAAS,CAAC,EACxB,EAAE,EACF,KAAK,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,aAAa,EACb,cAAwB,EACxB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CA4DhB;AAED,sFAAsF;AACtF,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,oBAAoB,CAAC,2CAItC;AACD,0DAA0D;AAC1D,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,oBAAoB,CAAC,2CAEtC"}
|
|
@@ -18,7 +18,7 @@ export interface InlineOptions {
|
|
|
18
18
|
stackBelow?: LayoutBreakpoint;
|
|
19
19
|
}
|
|
20
20
|
export type InlineProps<E extends LayoutElement = "div"> = LayoutProps<E, InlineOptions>;
|
|
21
|
-
export declare function Inline<E extends LayoutElement = "div">({ as, gap, gapX, gapY, align, justify, wrap, inline, stackBelow, className, style, ...props }: InlineProps<E>): import("react").DetailedReactHTMLElement<Omit<InlineProps<E>, "inline" | "className" | "gap" | "style" | "align" | "as" | "
|
|
21
|
+
export declare function Inline<E extends LayoutElement = "div">({ as, gap, gapX, gapY, align, justify, wrap, inline, stackBelow, className, style, ...props }: InlineProps<E>): import("react").DetailedReactHTMLElement<Omit<InlineProps<E>, "inline" | "className" | "gap" | "style" | "align" | "as" | "wrap" | "justify" | "gapX" | "gapY" | "stackBelow"> & {
|
|
22
22
|
className: string;
|
|
23
23
|
style: LayoutStyle;
|
|
24
24
|
}, HTMLElement>;
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
* />
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
+
import type { ReactNode } from "react";
|
|
29
30
|
interface PageSizeOption {
|
|
30
31
|
value: string;
|
|
31
32
|
label: string;
|
|
@@ -37,6 +38,12 @@ interface PaginationBarProps {
|
|
|
37
38
|
pageSize: number;
|
|
38
39
|
/** Total number of items across all pages. */
|
|
39
40
|
total: number;
|
|
41
|
+
/** Replace the default range text with custom content or a total formatter. */
|
|
42
|
+
summary?: ReactNode | ((total: number) => ReactNode);
|
|
43
|
+
/** Show a short total caption after the range or custom summary. */
|
|
44
|
+
showTotal?: boolean;
|
|
45
|
+
/** Show a loading caption and disable both navigation and page-size selection. */
|
|
46
|
+
loading?: boolean;
|
|
40
47
|
/**
|
|
41
48
|
* Options for the page-size dropdown.
|
|
42
49
|
* Defaults to 10 / 25 / 50 per page. Override when your table
|
|
@@ -53,6 +60,6 @@ interface PaginationBarProps {
|
|
|
53
60
|
/** Additional utility classes for the root container. */
|
|
54
61
|
className?: string;
|
|
55
62
|
}
|
|
56
|
-
export declare function PaginationBar({ page, pageSize, total, pageSizeOptions, onPageChange, onPageSizeChange, className, }: PaginationBarProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export declare function PaginationBar({ page, pageSize, total, summary, showTotal, loading, pageSizeOptions, onPageChange, onPageSizeChange, className, }: PaginationBarProps): import("react/jsx-runtime").JSX.Element;
|
|
57
64
|
export {};
|
|
58
65
|
//# sourceMappingURL=PaginationBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationBar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PaginationBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;
|
|
1
|
+
{"version":3,"file":"PaginationBar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PaginationBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAaD,UAAU,kBAAkB;IAC1B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC,CAAC;IACrD,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,0DAA0D;IAC1D,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;OAGG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,SAAiB,EACjB,OAAe,EACf,eAA2C,EAC3C,YAAY,EACZ,gBAAgB,EAChB,SAAS,GACV,EAAE,kBAAkB,2CAyDpB"}
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
import { type SelectHTMLAttributes } from "react";
|
|
2
2
|
import { type ControlSize } from "../../providers/ControlSizeContext";
|
|
3
|
-
interface
|
|
3
|
+
export interface SelectOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Keep the option visible but prevent native selection. */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface SelectOptionGroup {
|
|
10
|
+
label: string;
|
|
11
|
+
/** Groups contain leaf options; nested groups are not supported. */
|
|
12
|
+
options: SelectOption[];
|
|
13
|
+
}
|
|
14
|
+
interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "value"> {
|
|
4
15
|
/** Label text rendered above the select and linked to it. */
|
|
5
16
|
label?: string;
|
|
17
|
+
/** Render the label inside an empty single-select control. Listboxes retain the above label. */
|
|
18
|
+
labelPlacement?: "above" | "placeholder";
|
|
19
|
+
value?: SelectHTMLAttributes<HTMLSelectElement>["value"] | null;
|
|
6
20
|
/** Error message shown next to the label; also marks the select invalid and turns the border red. */
|
|
7
21
|
error?: string;
|
|
8
22
|
/** Helper text shown above the select and linked via `aria-describedby`. */
|
|
9
23
|
hint?: string;
|
|
10
24
|
/** Opt-in larger control, or inherit ControlSizeProvider. */
|
|
11
25
|
controlSize?: ControlSize;
|
|
12
|
-
/**
|
|
13
|
-
options:
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|
|
26
|
+
/** Leaf choices and labelled groups, rendered as native options and optgroups. */
|
|
27
|
+
options: (SelectOption | SelectOptionGroup)[];
|
|
17
28
|
}
|
|
18
29
|
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLSelectElement>>;
|
|
19
30
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AAKf,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,UAAU,WAAY,SAAQ,IAAI,CAChC,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,OAAO,CACR;IACC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gGAAgG;IAChG,cAAc,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;IACzC,KAAK,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAChE,qGAAqG;IACrG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,kFAAkF;IAClF,OAAO,EAAE,CAAC,YAAY,GAAG,iBAAiB,CAAC,EAAE,CAAC;CAC/C;AAED,eAAO,MAAM,MAAM,2GA2NlB,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
/** Dimmed with `aria-disabled`; skipped by the keys and typeahead, and not selectable. */
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}
|
|
1
|
+
import type { SelectOption, SelectOptionGroup } from "./Select";
|
|
7
2
|
interface SelectDropdownProps {
|
|
8
|
-
options
|
|
9
|
-
|
|
3
|
+
/** Flat options, labelled groups, or a mix of both. Disabled leaves are skipped. */
|
|
4
|
+
options: (SelectOption | SelectOptionGroup)[];
|
|
5
|
+
value?: string | null;
|
|
10
6
|
onChange: (value: string) => void;
|
|
11
7
|
label?: string;
|
|
8
|
+
/** Render the label in the empty trigger, including when an empty-valued option is selected. */
|
|
9
|
+
labelPlacement?: "above" | "placeholder";
|
|
12
10
|
placeholder?: string;
|
|
13
11
|
className?: string;
|
|
14
12
|
size?: "sm" | "md";
|
|
13
|
+
/** Disable the trigger and selection while preserving its position in the layout. */
|
|
14
|
+
disabled?: boolean;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* A select-only listbox: focus stays on the trigger, which tracks the active
|
|
@@ -21,6 +21,6 @@ interface SelectDropdownProps {
|
|
|
21
21
|
* typed text (the text resets after a short pause, and repeating a letter
|
|
22
22
|
* cycles); on the closed trigger it selects the match without opening.
|
|
23
23
|
*/
|
|
24
|
-
export declare function SelectDropdown({ options, value, onChange, label, placeholder, className, size, }: SelectDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function SelectDropdown({ options: entries, value, onChange, label, labelPlacement, placeholder, className, size, disabled, }: SelectDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
26
26
|
//# sourceMappingURL=SelectDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/ui/SelectDropdown.tsx"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"SelectDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/ui/SelectDropdown.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEhE,UAAU,mBAAmB;IAC3B,oFAAoF;IACpF,OAAO,EAAE,CAAC,YAAY,GAAG,iBAAiB,CAAC,EAAE,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gGAAgG;IAChG,cAAc,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EAAE,OAAO,EAChB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,cAAwB,EACxB,WAAyB,EACzB,SAAS,EACT,IAAW,EACX,QAAgB,GACjB,EAAE,mBAAmB,2CA4VrB"}
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
type ToastType = "success" | "error" | "warning" | "info";
|
|
2
|
+
export type ToastType = "success" | "error" | "warning" | "info";
|
|
3
|
+
export interface ToastOptions {
|
|
4
|
+
type: ToastType;
|
|
5
|
+
/** Optional strong title above the message, included once in the announcement. */
|
|
6
|
+
title?: string;
|
|
7
|
+
message: string;
|
|
8
|
+
/** Milliseconds; defaults to 4000. Non-positive/non-finite stays until dismissed. */
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
3
11
|
interface ToastContextValue {
|
|
4
12
|
/**
|
|
5
13
|
* Show a toast. duration is ms (default 4000), auto-dismisses.
|
|
6
14
|
* Must be under <ToastProvider>.
|
|
7
15
|
* @example toast("success", "Saved")
|
|
8
16
|
*/
|
|
9
|
-
toast:
|
|
17
|
+
toast: {
|
|
18
|
+
(type: ToastType, message: string, duration?: number): void;
|
|
19
|
+
(options: ToastOptions): void;
|
|
20
|
+
};
|
|
10
21
|
}
|
|
11
22
|
/**
|
|
12
23
|
* Access the `toast` function. Requires a <ToastProvider> ancestor; without
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAOD,UAAU,iBAAiB;IACzB;;;;OAIG;IACH,KAAK,EAAE;QACL,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5D,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;KAC/B,CAAC;CACH;AAID;;;GAGG;AACH,wBAAgB,QAAQ,sBAEvB;AAED,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAqClE"}
|
|
@@ -7,8 +7,12 @@ export interface ToggleProps {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
/** Text shown beside the switch. */
|
|
9
9
|
label?: string;
|
|
10
|
+
/** ID of an element that names the switch, including when no inline label is shown. */
|
|
11
|
+
"aria-labelledby"?: string;
|
|
12
|
+
/** ID of an element that describes the switch. */
|
|
13
|
+
"aria-describedby"?: string;
|
|
10
14
|
/** Extra classes for the wrapping label element. */
|
|
11
15
|
className?: string;
|
|
12
16
|
}
|
|
13
|
-
export declare function Toggle({ checked, onChange, disabled, label, className, }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function Toggle({ checked, onChange, disabled, label, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, className, }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
14
18
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Toggle.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,oEAAoE;IACpE,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,GACV,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Toggle.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,oEAAoE;IACpE,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kDAAkD;IAClD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,iBAAiB,EAAE,cAAc,EACjC,kBAAkB,EAAE,eAAe,EACnC,SAAS,GACV,EAAE,WAAW,2CAuCb"}
|
|
@@ -13,5 +13,6 @@ export declare function useFieldControl({ id, error, hint, describedBy, invalid,
|
|
|
13
13
|
describedBy: string | undefined;
|
|
14
14
|
invalid: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
15
15
|
required: boolean | undefined;
|
|
16
|
+
placeholderLabel: string | undefined;
|
|
16
17
|
};
|
|
17
18
|
//# sourceMappingURL=useFieldControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFieldControl.d.ts","sourceRoot":"","sources":["../../../src/components/ui/useFieldControl.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,EAAE,EACF,KAAK,EACL,IAAI,EACJ,WAAW,EACX,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"useFieldControl.d.ts","sourceRoot":"","sources":["../../../src/components/ui/useFieldControl.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,EAAE,EACF,KAAK,EACL,IAAI,EACJ,WAAW,EACX,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB;;;;;;;;EAoBrB"}
|