@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.
Files changed (89) hide show
  1. package/README.md +9 -5
  2. package/css/actions.css +38 -27
  3. package/css/base.css +9 -9
  4. package/css/card.css +24 -23
  5. package/css/choice.css +50 -50
  6. package/css/forms.css +18 -18
  7. package/css/journey.css +16 -16
  8. package/css/layover.css +45 -45
  9. package/css/lists.css +43 -43
  10. package/css/media.css +33 -33
  11. package/css/numbers.css +25 -25
  12. package/css/people.css +11 -11
  13. package/css/sheet.css +21 -21
  14. package/css/theme.template.css +6 -3
  15. package/dist/actions/Btn.d.ts +109 -108
  16. package/dist/actions/BtnRow.d.ts +2 -2
  17. package/dist/actions/Chip.d.ts +102 -101
  18. package/dist/actions/Dot.d.ts +2 -2
  19. package/dist/actions/Dropdown.d.ts +4 -4
  20. package/dist/actions/Fab.d.ts +2 -2
  21. package/dist/actions/IconBtn.d.ts +107 -106
  22. package/dist/actions/Link.d.ts +105 -104
  23. package/dist/actions/Segment.d.ts +3 -3
  24. package/dist/cardds.css +333 -321
  25. package/dist/cards/Card.d.ts +99 -98
  26. package/dist/cards/CardFoot.d.ts +2 -2
  27. package/dist/cards/CardHead.d.ts +2 -2
  28. package/dist/cards/CardParts.d.ts +7 -7
  29. package/dist/cards/Placeholder.d.ts +2 -2
  30. package/dist/cards/Stat.d.ts +7 -5
  31. package/dist/cards/Stat.js +2 -2
  32. package/dist/choice/Calendar.d.ts +2 -2
  33. package/dist/choice/Check.d.ts +3 -3
  34. package/dist/choice/DayStrip.d.ts +3 -3
  35. package/dist/choice/Mood.d.ts +2 -2
  36. package/dist/choice/Slider.d.ts +2 -2
  37. package/dist/forms/AddRow.d.ts +2 -2
  38. package/dist/forms/Composer.d.ts +2 -2
  39. package/dist/forms/Field.d.ts +2 -2
  40. package/dist/forms/FileBtn.d.ts +2 -2
  41. package/dist/forms/Pin.d.ts +2 -2
  42. package/dist/journey/NoteRow.d.ts +2 -2
  43. package/dist/journey/Route.d.ts +2 -2
  44. package/dist/journey/TileBadge.d.ts +2 -2
  45. package/dist/layover/Banner.d.ts +2 -2
  46. package/dist/layover/Callout.d.ts +2 -2
  47. package/dist/layover/Deck.d.ts +3 -3
  48. package/dist/lists/Bubble.d.ts +3 -3
  49. package/dist/lists/Kv.d.ts +5 -5
  50. package/dist/lists/Legend.d.ts +3 -3
  51. package/dist/lists/Row.d.ts +5 -4
  52. package/dist/lists/Timeline.d.ts +3 -3
  53. package/dist/media/MapArea.d.ts +2 -2
  54. package/dist/media/Mosaic.d.ts +3 -3
  55. package/dist/media/Postcard.d.ts +2 -2
  56. package/dist/media/Quote.d.ts +2 -2
  57. package/dist/media/Tile.d.ts +5 -4
  58. package/dist/numbers/Badge.d.ts +2 -2
  59. package/dist/numbers/Band.d.ts +3 -3
  60. package/dist/numbers/Bars.d.ts +3 -3
  61. package/dist/numbers/DotGrid.d.ts +2 -2
  62. package/dist/numbers/Picker.d.ts +3 -3
  63. package/dist/numbers/Ring.d.ts +2 -2
  64. package/dist/numbers/Track.d.ts +3 -3
  65. package/dist/people/Avatar.d.ts +100 -99
  66. package/dist/people/AvatarPick.d.ts +3 -3
  67. package/dist/scaffold/ActionBar.d.ts +3 -3
  68. package/dist/scaffold/AppBar.d.ts +2 -2
  69. package/dist/scaffold/BaseContent.d.ts +3 -3
  70. package/dist/scaffold/Centre.d.ts +3 -3
  71. package/dist/scaffold/EmptyState.d.ts +2 -2
  72. package/dist/scaffold/FilterRow.d.ts +2 -2
  73. package/dist/scaffold/FloatBar.d.ts +105 -104
  74. package/dist/scaffold/PagerAt.d.ts +2 -2
  75. package/dist/scaffold/Screen.d.ts +100 -99
  76. package/dist/scaffold/TopBar.d.ts +2 -2
  77. package/dist/sheets/CardBack.d.ts +2 -2
  78. package/dist/sheets/Drawer.d.ts +5 -5
  79. package/dist/sheets/Sheet.d.ts +2 -2
  80. package/dist/sheets/SheetBody.d.ts +2 -2
  81. package/dist/sheets/SheetHead.d.ts +2 -2
  82. package/dist/sheets/SheetStack.d.ts +2 -2
  83. package/dist/sheets/SheetStage.d.ts +2 -2
  84. package/dist/sheets/Step.d.ts +2 -2
  85. package/dist/type/Icon.d.ts +22 -7
  86. package/dist/type/Icon.js +27 -4
  87. package/dist/type/Text.d.ts +7 -1
  88. package/dist/type/Text.js +2 -2
  89. package/package.json +3 -2
@@ -1,10 +1,10 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
2
- export interface MosaicProps extends ComponentPropsWithoutRef<'div'> {
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 ComponentPropsWithoutRef<'span'> {
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. */
@@ -1,5 +1,5 @@
1
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
2
- export interface PostcardProps extends ComponentPropsWithoutRef<'div'> {
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;
@@ -1,5 +1,5 @@
1
- import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface QuoteProps extends ComponentPropsWithoutRef<'blockquote'> {
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 */
@@ -1,13 +1,13 @@
1
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
2
  import { type IconName } from '../type/Icon.js';
3
- export interface TileGridProps extends ComponentPropsWithoutRef<'div'> {
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<ComponentPropsWithoutRef<'div'>, 'onChange'> {
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
- }, HTMLElement>;
321
+ }, HTMLDivElement>;
@@ -1,5 +1,5 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
2
- export interface BadgeProps extends ComponentPropsWithoutRef<'span'> {
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
  }
@@ -1,5 +1,5 @@
1
- import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface BandProps extends ComponentPropsWithoutRef<'article'> {
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 ComponentPropsWithoutRef<'div'> {
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;
@@ -1,11 +1,11 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
2
- export interface BarsProps extends ComponentPropsWithoutRef<'div'> {
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 ComponentPropsWithoutRef<'div'> {
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 { ComponentPropsWithoutRef } from 'react';
2
- export interface DotGridProps extends ComponentPropsWithoutRef<'div'> {
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) */
@@ -1,5 +1,5 @@
1
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
2
- export interface PickerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue'> {
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<ComponentPropsWithoutRef<'button'>, 'value'> {
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
  }
@@ -1,5 +1,5 @@
1
- import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface RingProps extends ComponentPropsWithoutRef<'div'> {
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) */
@@ -1,10 +1,10 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
2
- export interface TrackProps extends ComponentPropsWithoutRef<'ol'> {
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 ComponentPropsWithoutRef<'li'> {
7
+ export interface TrackStepProps extends ComponentProps<'li'> {
8
8
  /** this step (and the connector into it) is done */
9
9
  done?: boolean;
10
10
  }
@@ -1,6 +1,6 @@
1
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
2
  import { type IconName } from '../type/Icon.js';
3
- export interface AvatarProps extends ComponentPropsWithoutRef<'span'> {
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
- slot?: string | undefined | undefined;
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
- title?: string | undefined | undefined;
31
- suppressHydrationWarning?: boolean | undefined | undefined;
32
- color?: string | undefined | undefined;
33
- id?: string | undefined | undefined;
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
- tabIndex?: number | undefined | undefined;
39
- "aria-activedescendant"?: string | undefined | undefined;
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 | undefined;
42
- "aria-braillelabel"?: string | undefined | undefined;
43
- "aria-brailleroledescription"?: string | undefined | 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 | undefined;
46
- "aria-colcount"?: number | undefined | undefined;
47
- "aria-colindex"?: number | undefined | undefined;
48
- "aria-colindextext"?: string | undefined | undefined;
49
- "aria-colspan"?: number | undefined | undefined;
50
- "aria-controls"?: string | undefined | undefined;
51
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
52
- "aria-describedby"?: string | undefined | undefined;
53
- "aria-description"?: string | undefined | undefined;
54
- "aria-details"?: string | undefined | 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 | undefined;
57
- "aria-errormessage"?: string | undefined | 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 | 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 | 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 | undefined;
64
- "aria-keyshortcuts"?: string | undefined | undefined;
65
- "aria-label"?: string | undefined | undefined;
66
- "aria-labelledby"?: string | undefined | undefined;
67
- "aria-level"?: number | undefined | undefined;
68
- "aria-live"?: "off" | "assertive" | "polite" | undefined | 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 | undefined;
73
- "aria-owns"?: string | undefined | undefined;
74
- "aria-placeholder"?: string | undefined | undefined;
75
- "aria-posinset"?: number | undefined | undefined;
76
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | 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 | 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 | undefined;
81
- "aria-rowcount"?: number | undefined | undefined;
82
- "aria-rowindex"?: number | undefined | undefined;
83
- "aria-rowindextext"?: string | undefined | undefined;
84
- "aria-rowspan"?: number | undefined | 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 | undefined;
87
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
88
- "aria-valuemax"?: number | undefined | undefined;
89
- "aria-valuemin"?: number | undefined | undefined;
90
- "aria-valuenow"?: number | undefined | undefined;
91
- "aria-valuetext"?: string | undefined | 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 | 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
- }, HTMLElement>;
311
- export interface AvatarStackProps extends ComponentPropsWithoutRef<'span'> {
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 { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface AvatarPickProps extends ComponentPropsWithoutRef<'div'> {
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<ComponentPropsWithoutRef<'button'>, 'name' | 'role'> {
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 { ComponentPropsWithoutRef } from 'react';
2
- export interface ActionBarProps extends ComponentPropsWithoutRef<'div'> {
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 ComponentPropsWithoutRef<'div'> {
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 { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface AppBarProps extends Omit<ComponentPropsWithoutRef<'header'>, 'title'> {
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 { ComponentPropsWithoutRef } from 'react';
2
- export interface BaseContentProps extends ComponentPropsWithoutRef<'section'> {
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 ComponentPropsWithoutRef<'div'> {
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 { ComponentPropsWithoutRef } from 'react';
2
- export interface CentreProps extends ComponentPropsWithoutRef<'div'> {
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 ComponentPropsWithoutRef<'div'> {
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 { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export interface EmptyStateProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
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 { ComponentPropsWithoutRef } from 'react';
2
- export interface FilterRowProps extends ComponentPropsWithoutRef<'div'> {
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;