@usableapp/cardds 0.3.0 → 0.4.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 +9 -5
- package/css/actions.css +38 -27
- package/css/base.css +9 -9
- package/css/card.css +24 -23
- package/css/choice.css +50 -50
- package/css/forms.css +18 -18
- package/css/journey.css +16 -16
- package/css/layover.css +45 -45
- package/css/lists.css +43 -43
- package/css/media.css +33 -33
- package/css/numbers.css +25 -25
- package/css/people.css +11 -11
- package/css/sheet.css +21 -21
- package/css/theme.template.css +6 -3
- package/dist/actions/Btn.d.ts +109 -108
- package/dist/actions/BtnRow.d.ts +2 -2
- package/dist/actions/Chip.d.ts +102 -101
- package/dist/actions/Dot.d.ts +2 -2
- package/dist/actions/Dropdown.d.ts +4 -4
- package/dist/actions/Fab.d.ts +2 -2
- package/dist/actions/IconBtn.d.ts +107 -106
- package/dist/actions/Link.d.ts +105 -104
- package/dist/actions/Segment.d.ts +3 -3
- package/dist/cardds.css +333 -321
- package/dist/cards/Card.d.ts +99 -98
- package/dist/cards/CardFoot.d.ts +2 -2
- package/dist/cards/CardHead.d.ts +2 -2
- package/dist/cards/CardParts.d.ts +7 -7
- package/dist/cards/Placeholder.d.ts +2 -2
- package/dist/cards/Stat.d.ts +7 -5
- package/dist/cards/Stat.js +2 -2
- package/dist/choice/Calendar.d.ts +2 -2
- package/dist/choice/Check.d.ts +3 -3
- package/dist/choice/DayStrip.d.ts +3 -3
- package/dist/choice/Mood.d.ts +2 -2
- package/dist/choice/Slider.d.ts +2 -2
- package/dist/forms/AddRow.d.ts +2 -2
- package/dist/forms/Composer.d.ts +2 -2
- package/dist/forms/Field.d.ts +2 -2
- package/dist/forms/FileBtn.d.ts +2 -2
- package/dist/forms/Pin.d.ts +2 -2
- package/dist/journey/NoteRow.d.ts +2 -2
- package/dist/journey/Route.d.ts +2 -2
- package/dist/journey/TileBadge.d.ts +2 -2
- package/dist/layover/Banner.d.ts +2 -2
- package/dist/layover/Callout.d.ts +2 -2
- package/dist/layover/Deck.d.ts +3 -3
- package/dist/lists/Bubble.d.ts +3 -3
- package/dist/lists/Kv.d.ts +5 -5
- package/dist/lists/Legend.d.ts +3 -3
- package/dist/lists/Row.d.ts +5 -4
- package/dist/lists/Timeline.d.ts +3 -3
- package/dist/media/MapArea.d.ts +2 -2
- package/dist/media/Mosaic.d.ts +3 -3
- package/dist/media/Postcard.d.ts +2 -2
- package/dist/media/Quote.d.ts +2 -2
- package/dist/media/Tile.d.ts +5 -4
- package/dist/numbers/Badge.d.ts +2 -2
- package/dist/numbers/Band.d.ts +3 -3
- package/dist/numbers/Bars.d.ts +3 -3
- package/dist/numbers/DotGrid.d.ts +2 -2
- package/dist/numbers/Picker.d.ts +3 -3
- package/dist/numbers/Ring.d.ts +2 -2
- package/dist/numbers/Track.d.ts +3 -3
- package/dist/people/Avatar.d.ts +100 -99
- package/dist/people/AvatarPick.d.ts +3 -3
- package/dist/scaffold/ActionBar.d.ts +3 -3
- package/dist/scaffold/AppBar.d.ts +2 -2
- package/dist/scaffold/BaseContent.d.ts +3 -3
- package/dist/scaffold/Centre.d.ts +3 -3
- package/dist/scaffold/EmptyState.d.ts +2 -2
- package/dist/scaffold/FilterRow.d.ts +2 -2
- package/dist/scaffold/FloatBar.d.ts +105 -104
- package/dist/scaffold/PagerAt.d.ts +2 -2
- package/dist/scaffold/Screen.d.ts +100 -99
- package/dist/scaffold/TopBar.d.ts +2 -2
- package/dist/sheets/CardBack.d.ts +2 -2
- package/dist/sheets/Drawer.d.ts +5 -5
- package/dist/sheets/Sheet.d.ts +2 -2
- package/dist/sheets/SheetBody.d.ts +2 -2
- package/dist/sheets/SheetHead.d.ts +2 -2
- package/dist/sheets/SheetStack.d.ts +2 -2
- package/dist/sheets/SheetStage.d.ts +2 -2
- package/dist/sheets/Step.d.ts +2 -2
- package/dist/type/Icon.d.ts +22 -7
- package/dist/type/Icon.js +27 -4
- package/dist/type/Text.d.ts +7 -1
- package/dist/type/Text.js +2 -2
- package/package.json +3 -2
package/dist/media/Mosaic.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface MosaicProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface MosaicProps extends ComponentProps<'div'> {
|
|
3
3
|
label?: string;
|
|
4
4
|
}
|
|
5
5
|
/** Mosaic — one big photo + two small in a card (three Placeholders or imgs). */
|
|
6
6
|
export declare function Mosaic({ label, className, ...rest }: MosaicProps): import("react").JSX.Element;
|
|
7
|
-
export interface WaveProps extends
|
|
7
|
+
export interface WaveProps extends ComponentProps<'span'> {
|
|
8
8
|
label?: string;
|
|
9
9
|
}
|
|
10
10
|
/** Wave — the waveform stand-in for a voice note, filling a Row's body. */
|
package/dist/media/Postcard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export interface PostcardProps extends
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
|
+
export interface PostcardProps extends ComponentProps<'div'> {
|
|
3
3
|
/** the photo on the front; none = the wireframe box */
|
|
4
4
|
photo?: string | null;
|
|
5
5
|
alt?: string;
|
package/dist/media/Quote.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface QuoteProps extends
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface QuoteProps extends ComponentProps<'blockquote'> {
|
|
3
3
|
/** the words */
|
|
4
4
|
text: ReactNode;
|
|
5
5
|
/** the attribution */
|
package/dist/media/Tile.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
2
|
import { type IconName } from '../type/Icon.js';
|
|
3
|
-
export interface TileGridProps extends
|
|
3
|
+
export interface TileGridProps extends ComponentProps<'div'> {
|
|
4
4
|
/** three across on a phone (attachments, upload kinds) */
|
|
5
5
|
cols3?: boolean;
|
|
6
6
|
bleed?: boolean;
|
|
7
7
|
}
|
|
8
8
|
/** TileGrid — big square Tiles in a responsive grid. */
|
|
9
9
|
export declare function TileGrid({ cols3, bleed, className, ...rest }: TileGridProps): import("react").JSX.Element;
|
|
10
|
-
export interface TileProps extends Omit<
|
|
10
|
+
export interface TileProps extends Omit<ComponentProps<'div'>, 'onChange'> {
|
|
11
11
|
/** the icon at the top */
|
|
12
12
|
icon?: IconName;
|
|
13
13
|
/** the label at the bottom */
|
|
@@ -272,6 +272,7 @@ export declare function Tile({ icon, label, value, sub, pick, type, name, checke
|
|
|
272
272
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
273
273
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
274
274
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
275
276
|
key?: import("react").Key | null | undefined;
|
|
276
277
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
277
278
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -317,4 +318,4 @@ export declare function Tile({ icon, label, value, sub, pick, type, name, checke
|
|
|
317
318
|
exportparts?: string | undefined | undefined;
|
|
318
319
|
type: string | undefined;
|
|
319
320
|
className: string;
|
|
320
|
-
},
|
|
321
|
+
}, HTMLDivElement>;
|
package/dist/numbers/Badge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface BadgeProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface BadgeProps extends ComponentProps<'span'> {
|
|
3
3
|
/** tinted instead of accent */
|
|
4
4
|
soft?: boolean;
|
|
5
5
|
}
|
package/dist/numbers/Band.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface BandProps extends
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface BandProps extends ComponentProps<'article'> {
|
|
3
3
|
/** the two-line label (use a `<br />` to break it) */
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
/** the giant number; wrap a unit in `<small>` */
|
|
@@ -10,7 +10,7 @@ export interface BandProps extends ComponentPropsWithoutRef<'article'> {
|
|
|
10
10
|
}
|
|
11
11
|
/** Band — a data card: 2-line label · giant number · footnote. Stack several in a BandStack for one boundary with hairlines. */
|
|
12
12
|
export declare function Band({ label, num, foot, tone, className, ...rest }: BandProps): import("react").JSX.Element;
|
|
13
|
-
export interface BandStackProps extends
|
|
13
|
+
export interface BandStackProps extends ComponentProps<'div'> {
|
|
14
14
|
}
|
|
15
15
|
/** BandStack — several Bands as ONE card boundary, a hairline between each. */
|
|
16
16
|
export declare function BandStack({ className, ...rest }: BandStackProps): import("react").JSX.Element;
|
package/dist/numbers/Bars.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface BarsProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface BarsProps extends ComponentProps<'div'> {
|
|
3
3
|
/** the value of the tallest bar */
|
|
4
4
|
max: number;
|
|
5
5
|
}
|
|
6
6
|
/** Bars — three or four bars with a count on top, the glance chart; children are Bar. */
|
|
7
7
|
export declare function Bars({ max, className, style, ...rest }: BarsProps): import("react").JSX.Element;
|
|
8
|
-
export interface BarProps extends
|
|
8
|
+
export interface BarProps extends ComponentProps<'div'> {
|
|
9
9
|
value: number;
|
|
10
10
|
/** the highlighted bar (accent, its count in a pill) */
|
|
11
11
|
on?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface DotGridProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface DotGridProps extends ComponentProps<'div'> {
|
|
3
3
|
/** how many dots */
|
|
4
4
|
total: number;
|
|
5
5
|
/** how many are done (filled, from the top-left) */
|
package/dist/numbers/Picker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export interface PickerProps extends Omit<
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
|
+
export interface PickerProps extends Omit<ComponentProps<'div'>, 'onChange' | 'defaultValue'> {
|
|
3
3
|
/** CONTROLLED: the chosen PickerItem's `value`. The app owns it — pair it with `onChange`. */
|
|
4
4
|
value?: string;
|
|
5
5
|
/** UNCONTROLLED: the value it starts on; the picker then keeps its own */
|
|
@@ -17,7 +17,7 @@ export interface PickerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onCh
|
|
|
17
17
|
* settled in the centre. The CSS lights the centred item by scroll position; the app never reads the DOM to know what was picked.
|
|
18
18
|
*/
|
|
19
19
|
export declare function Picker({ value, defaultValue, onChange, unit, label, className, children, ...rest }: PickerProps): import("react").JSX.Element;
|
|
20
|
-
export interface PickerItemProps extends Omit<
|
|
20
|
+
export interface PickerItemProps extends Omit<ComponentProps<'button'>, 'value'> {
|
|
21
21
|
/** what choosing this item reports; default = its own text */
|
|
22
22
|
value?: string;
|
|
23
23
|
}
|
package/dist/numbers/Ring.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface RingProps extends
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface RingProps extends ComponentProps<'div'> {
|
|
3
3
|
/** 0–100 */
|
|
4
4
|
value: number;
|
|
5
5
|
/** sm = an avatar-xl ring · xs = an inline counter in a head (2/3) */
|
package/dist/numbers/Track.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface TrackProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface TrackProps extends ComponentProps<'ol'> {
|
|
3
3
|
label?: string;
|
|
4
4
|
}
|
|
5
5
|
/** Track — step progress in a dark pill: done · done · todo; children are TrackSteps holding an Icon each. */
|
|
6
6
|
export declare function Track({ label, className, ...rest }: TrackProps): import("react").JSX.Element;
|
|
7
|
-
export interface TrackStepProps extends
|
|
7
|
+
export interface TrackStepProps extends ComponentProps<'li'> {
|
|
8
8
|
/** this step (and the connector into it) is done */
|
|
9
9
|
done?: boolean;
|
|
10
10
|
}
|
package/dist/people/Avatar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
2
|
import { type IconName } from '../type/Icon.js';
|
|
3
|
-
export interface AvatarProps extends
|
|
3
|
+
export interface AvatarProps extends ComponentProps<'span'> {
|
|
4
4
|
/** sm 32px · default 40px · lg 56px · xl 72px (a sheet head's icon ring) */
|
|
5
5
|
size?: 'sm' | 'lg' | 'xl';
|
|
6
6
|
/** no fill, an edge — an icon in a ring */
|
|
@@ -25,73 +25,118 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
25
25
|
}
|
|
26
26
|
/** Avatar — initials by default, a photo or an Icon when there is one; sizes are the tokens. */
|
|
27
27
|
export declare function Avatar({ size, outline, add, on, halo, center, src, alt, icon, as, href, className, children, ...rest }: AvatarProps): import("react").DetailedReactHTMLElement<{
|
|
28
|
-
|
|
28
|
+
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
29
|
+
key?: import("react").Key | null | undefined;
|
|
30
|
+
defaultChecked?: boolean | undefined;
|
|
31
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
32
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
33
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
34
|
+
accessKey?: string | undefined;
|
|
35
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
36
|
+
autoFocus?: boolean | undefined;
|
|
37
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
38
|
+
contextMenu?: string | undefined;
|
|
39
|
+
dir?: string | undefined;
|
|
40
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
41
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
42
|
+
hidden?: boolean | undefined;
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
lang?: string | undefined;
|
|
45
|
+
nonce?: string | undefined;
|
|
46
|
+
slot?: string | undefined;
|
|
47
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
29
48
|
style?: import("react").CSSProperties | undefined;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
lang?: string | undefined | undefined;
|
|
35
|
-
nonce?: string | undefined | undefined;
|
|
36
|
-
part?: string | undefined | undefined;
|
|
49
|
+
tabIndex?: number | undefined;
|
|
50
|
+
title?: string | undefined;
|
|
51
|
+
translate?: "yes" | "no" | undefined;
|
|
52
|
+
radioGroup?: string | undefined;
|
|
37
53
|
role?: import("react").AriaRole | undefined;
|
|
38
|
-
|
|
39
|
-
|
|
54
|
+
about?: string | undefined;
|
|
55
|
+
content?: string | undefined;
|
|
56
|
+
datatype?: string | undefined;
|
|
57
|
+
inlist?: any;
|
|
58
|
+
prefix?: string | undefined;
|
|
59
|
+
property?: string | undefined;
|
|
60
|
+
rel?: string | undefined;
|
|
61
|
+
resource?: string | undefined;
|
|
62
|
+
rev?: string | undefined;
|
|
63
|
+
typeof?: string | undefined;
|
|
64
|
+
vocab?: string | undefined;
|
|
65
|
+
autoCorrect?: string | undefined;
|
|
66
|
+
autoSave?: string | undefined;
|
|
67
|
+
color?: string | undefined;
|
|
68
|
+
itemProp?: string | undefined;
|
|
69
|
+
itemScope?: boolean | undefined;
|
|
70
|
+
itemType?: string | undefined;
|
|
71
|
+
itemID?: string | undefined;
|
|
72
|
+
itemRef?: string | undefined;
|
|
73
|
+
results?: number | undefined;
|
|
74
|
+
security?: string | undefined;
|
|
75
|
+
unselectable?: "on" | "off" | undefined;
|
|
76
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
77
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
78
|
+
popoverTarget?: string | undefined;
|
|
79
|
+
inert?: boolean | undefined;
|
|
80
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
81
|
+
is?: string | undefined;
|
|
82
|
+
exportparts?: string | undefined;
|
|
83
|
+
part?: string | undefined;
|
|
84
|
+
"aria-activedescendant"?: string | undefined;
|
|
40
85
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
41
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined
|
|
42
|
-
"aria-braillelabel"?: string | undefined
|
|
43
|
-
"aria-brailleroledescription"?: string | undefined
|
|
86
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
87
|
+
"aria-braillelabel"?: string | undefined;
|
|
88
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
44
89
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
45
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined
|
|
46
|
-
"aria-colcount"?: number | undefined
|
|
47
|
-
"aria-colindex"?: number | undefined
|
|
48
|
-
"aria-colindextext"?: string | undefined
|
|
49
|
-
"aria-colspan"?: number | undefined
|
|
50
|
-
"aria-controls"?: string | undefined
|
|
51
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined
|
|
52
|
-
"aria-describedby"?: string | undefined
|
|
53
|
-
"aria-description"?: string | undefined
|
|
54
|
-
"aria-details"?: string | undefined
|
|
90
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
91
|
+
"aria-colcount"?: number | undefined;
|
|
92
|
+
"aria-colindex"?: number | undefined;
|
|
93
|
+
"aria-colindextext"?: string | undefined;
|
|
94
|
+
"aria-colspan"?: number | undefined;
|
|
95
|
+
"aria-controls"?: string | undefined;
|
|
96
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
97
|
+
"aria-describedby"?: string | undefined;
|
|
98
|
+
"aria-description"?: string | undefined;
|
|
99
|
+
"aria-details"?: string | undefined;
|
|
55
100
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
56
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined
|
|
57
|
-
"aria-errormessage"?: string | undefined
|
|
101
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
102
|
+
"aria-errormessage"?: string | undefined;
|
|
58
103
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
59
|
-
"aria-flowto"?: string | undefined
|
|
104
|
+
"aria-flowto"?: string | undefined;
|
|
60
105
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
61
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined
|
|
106
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
62
107
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined
|
|
64
|
-
"aria-keyshortcuts"?: string | undefined
|
|
65
|
-
"aria-label"?: string | undefined
|
|
66
|
-
"aria-labelledby"?: string | undefined
|
|
67
|
-
"aria-level"?: number | undefined
|
|
68
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined
|
|
108
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
109
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
110
|
+
"aria-label"?: string | undefined;
|
|
111
|
+
"aria-labelledby"?: string | undefined;
|
|
112
|
+
"aria-level"?: number | undefined;
|
|
113
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
69
114
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
70
115
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
71
116
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
72
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined
|
|
73
|
-
"aria-owns"?: string | undefined
|
|
74
|
-
"aria-placeholder"?: string | undefined
|
|
75
|
-
"aria-posinset"?: number | undefined
|
|
76
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined
|
|
117
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
118
|
+
"aria-owns"?: string | undefined;
|
|
119
|
+
"aria-placeholder"?: string | undefined;
|
|
120
|
+
"aria-posinset"?: number | undefined;
|
|
121
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
77
122
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined
|
|
123
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
79
124
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
80
|
-
"aria-roledescription"?: string | undefined
|
|
81
|
-
"aria-rowcount"?: number | undefined
|
|
82
|
-
"aria-rowindex"?: number | undefined
|
|
83
|
-
"aria-rowindextext"?: string | undefined
|
|
84
|
-
"aria-rowspan"?: number | undefined
|
|
125
|
+
"aria-roledescription"?: string | undefined;
|
|
126
|
+
"aria-rowcount"?: number | undefined;
|
|
127
|
+
"aria-rowindex"?: number | undefined;
|
|
128
|
+
"aria-rowindextext"?: string | undefined;
|
|
129
|
+
"aria-rowspan"?: number | undefined;
|
|
85
130
|
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
86
|
-
"aria-setsize"?: number | undefined
|
|
87
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined
|
|
88
|
-
"aria-valuemax"?: number | undefined
|
|
89
|
-
"aria-valuemin"?: number | undefined
|
|
90
|
-
"aria-valuenow"?: number | undefined
|
|
91
|
-
"aria-valuetext"?: string | undefined
|
|
131
|
+
"aria-setsize"?: number | undefined;
|
|
132
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
133
|
+
"aria-valuemax"?: number | undefined;
|
|
134
|
+
"aria-valuemin"?: number | undefined;
|
|
135
|
+
"aria-valuenow"?: number | undefined;
|
|
136
|
+
"aria-valuetext"?: string | undefined;
|
|
92
137
|
dangerouslySetInnerHTML?: {
|
|
93
138
|
__html: string | TrustedHTML;
|
|
94
|
-
} | undefined
|
|
139
|
+
} | undefined;
|
|
95
140
|
onCopy?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
96
141
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
97
142
|
onCut?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
@@ -260,55 +305,11 @@ export declare function Avatar({ size, outline, add, on, halo, center, src, alt,
|
|
|
260
305
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
261
306
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
262
307
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
263
|
-
key?: import("react").Key | null | undefined;
|
|
264
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
265
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
266
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
267
|
-
accessKey?: string | undefined | undefined;
|
|
268
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
269
|
-
autoFocus?: boolean | undefined | undefined;
|
|
270
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
271
|
-
contextMenu?: string | undefined | undefined;
|
|
272
|
-
dir?: string | undefined | undefined;
|
|
273
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
274
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
275
|
-
hidden?: boolean | undefined | undefined;
|
|
276
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
277
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
278
|
-
radioGroup?: string | undefined | undefined;
|
|
279
|
-
about?: string | undefined | undefined;
|
|
280
|
-
content?: string | undefined | undefined;
|
|
281
|
-
datatype?: string | undefined | undefined;
|
|
282
|
-
inlist?: any;
|
|
283
|
-
prefix?: string | undefined | undefined;
|
|
284
|
-
property?: string | undefined | undefined;
|
|
285
|
-
rel?: string | undefined | undefined;
|
|
286
|
-
resource?: string | undefined | undefined;
|
|
287
|
-
rev?: string | undefined | undefined;
|
|
288
|
-
typeof?: string | undefined | undefined;
|
|
289
|
-
vocab?: string | undefined | undefined;
|
|
290
|
-
autoCorrect?: string | undefined | undefined;
|
|
291
|
-
autoSave?: string | undefined | undefined;
|
|
292
|
-
itemProp?: string | undefined | undefined;
|
|
293
|
-
itemScope?: boolean | undefined | undefined;
|
|
294
|
-
itemType?: string | undefined | undefined;
|
|
295
|
-
itemID?: string | undefined | undefined;
|
|
296
|
-
itemRef?: string | undefined | undefined;
|
|
297
|
-
results?: number | undefined | undefined;
|
|
298
|
-
security?: string | undefined | undefined;
|
|
299
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
300
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
301
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
302
|
-
popoverTarget?: string | undefined | undefined;
|
|
303
|
-
inert?: boolean | undefined | undefined;
|
|
304
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
305
|
-
is?: string | undefined | undefined;
|
|
306
|
-
exportparts?: string | undefined | undefined;
|
|
307
308
|
href: string | undefined;
|
|
308
309
|
type: string | undefined;
|
|
309
310
|
className: string;
|
|
310
|
-
},
|
|
311
|
-
export interface AvatarStackProps extends
|
|
311
|
+
}, HTMLSpanElement>;
|
|
312
|
+
export interface AvatarStackProps extends ComponentProps<'span'> {
|
|
312
313
|
}
|
|
313
314
|
/** AvatarStack — overlapping small Avatars with an optional `on` "+N" tail. */
|
|
314
315
|
export declare function AvatarStack({ className, ...rest }: AvatarStackProps): import("react").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface AvatarPickProps extends
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface AvatarPickProps extends ComponentProps<'div'> {
|
|
3
3
|
/** run the strip to the card's edges */
|
|
4
4
|
bleed?: boolean;
|
|
5
5
|
label?: string;
|
|
6
6
|
}
|
|
7
7
|
/** AvatarPick — the chooser row: big heads with name and role under, scrolling sideways; children are AvatarPickItems. */
|
|
8
8
|
export declare function AvatarPick({ bleed, label, className, ...rest }: AvatarPickProps): import("react").JSX.Element;
|
|
9
|
-
export interface AvatarPickItemProps extends Omit<
|
|
9
|
+
export interface AvatarPickItemProps extends Omit<ComponentProps<'button'>, 'name' | 'role'> {
|
|
10
10
|
/** the name under the head */
|
|
11
11
|
name: ReactNode;
|
|
12
12
|
/** the role under the name */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface ActionBarProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface ActionBarProps extends ComponentProps<'div'> {
|
|
3
3
|
/** `pager`: previous / next as two equal buttons at the edges (a Link may sit between them; the PagerAt dots never do — they go under the card) · `tiers`: rows stacked — a control tier above the buttons */
|
|
4
4
|
variant?: 'pager' | 'tiers';
|
|
5
5
|
/** render in flow instead of fixed to the viewport bottom (for a preview or a mock frame); the real bar is fixed */
|
|
@@ -13,7 +13,7 @@ export interface ActionBarProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
13
13
|
* The parent hosting the bar reserves its room (`--bar-reserve`); never pad a screen for it by hand.
|
|
14
14
|
*/
|
|
15
15
|
export declare function ActionBar({ variant, inline, className, style, ...rest }: ActionBarProps): import("react").JSX.Element;
|
|
16
|
-
export interface ActionBarTierProps extends
|
|
16
|
+
export interface ActionBarTierProps extends ComponentProps<'div'> {
|
|
17
17
|
/** the tier that holds the round pager (two IconBtns at the edges) */
|
|
18
18
|
pager?: boolean;
|
|
19
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface AppBarProps extends Omit<
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface AppBarProps extends Omit<ComponentProps<'header'>, 'title'> {
|
|
3
3
|
/** the app or brand mark on the left (an Icon) */
|
|
4
4
|
icon?: ReactNode;
|
|
5
5
|
/** the context: which app, which place, which account */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface BaseContentProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface BaseContentProps extends ComponentProps<'section'> {
|
|
3
3
|
}
|
|
4
4
|
/**
|
|
5
5
|
* BaseContent — words straight on the base, no card around them: an overline, a heading, a paragraph,
|
|
@@ -11,7 +11,7 @@ export interface BaseContentProps extends ComponentPropsWithoutRef<'section'> {
|
|
|
11
11
|
* cardds's. The base itself carries no control; a form is never taken apart across it. Never both: a pager never works beside a sheet.
|
|
12
12
|
*/
|
|
13
13
|
export declare function BaseContent({ className, ...rest }: BaseContentProps): import("react").JSX.Element;
|
|
14
|
-
export interface CtaPackProps extends
|
|
14
|
+
export interface CtaPackProps extends ComponentProps<'div'> {
|
|
15
15
|
}
|
|
16
16
|
/** CtaPack — the buttons under a BaseContent's words, wrapping on one line. In a Step it holds ways in (each opens a sheet — the app wires that); the Step's own move is never here. */
|
|
17
17
|
export declare function CtaPack({ className, ...rest }: CtaPackProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface CentreProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface CentreProps extends ComponentProps<'div'> {
|
|
3
3
|
}
|
|
4
4
|
/**
|
|
5
5
|
* Centre — the centred group: ONE thing to read at the human centre of the screen, when that thing is not a lone
|
|
@@ -11,7 +11,7 @@ export interface CentreProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
11
11
|
* Put it after the TopBar; the ActionBar, if any, stays outside the Screen.
|
|
12
12
|
*/
|
|
13
13
|
export declare function Centre({ className, ...rest }: CentreProps): import("react").JSX.Element;
|
|
14
|
-
export interface PagesProps extends
|
|
14
|
+
export interface PagesProps extends ComponentProps<'div'> {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Pages — the pages of a walk, all one height: every page is rendered, stacked in one cell as tall as the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface EmptyStateProps extends Omit<
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export interface EmptyStateProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
3
3
|
/** the big icon above the words (an `<Icon size="lg" />`) */
|
|
4
4
|
icon?: ReactNode;
|
|
5
5
|
/** the heading */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface FilterRowProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface FilterRowProps extends ComponentProps<'div'> {
|
|
3
3
|
}
|
|
4
4
|
/** FilterRow — a row of Dropdowns sharing the width, under the TopBar (this week · USD). */
|
|
5
5
|
export declare function FilterRow({ className, ...rest }: FilterRowProps): import("react").JSX.Element;
|