@estiva-app/ui 0.12.9 → 0.13.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/AttachmentCard.d.ts +52 -0
- package/dist/AttachmentCard.d.ts.map +1 -0
- package/dist/Card.d.ts +48 -0
- package/dist/Card.d.ts.map +1 -0
- package/dist/InlineChip.d.ts +59 -0
- package/dist/InlineChip.d.ts.map +1 -0
- package/dist/Link.d.ts +37 -0
- package/dist/Link.d.ts.map +1 -0
- package/dist/Menu.d.ts +12 -2
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Popover.d.ts +17 -2
- package/dist/Popover.d.ts.map +1 -1
- package/dist/ProgressBar.d.ts +32 -0
- package/dist/ProgressBar.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +697 -358
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/AttachmentCard.mdx +62 -0
- package/src/AttachmentCard.stories.tsx +92 -0
- package/src/AttachmentCard.test.tsx +172 -0
- package/src/AttachmentCard.tsx +324 -0
- package/src/Card.mdx +68 -0
- package/src/Card.stories.tsx +109 -0
- package/src/Card.test.tsx +106 -0
- package/src/Card.tsx +115 -0
- package/src/EmptyState.mdx +14 -0
- package/src/EmptyState.stories.tsx +28 -7
- package/src/EmptyState.test.tsx +8 -0
- package/src/InlineChip.mdx +56 -0
- package/src/InlineChip.stories.tsx +59 -0
- package/src/InlineChip.test.tsx +81 -0
- package/src/InlineChip.tsx +90 -0
- package/src/Link.mdx +59 -0
- package/src/Link.stories.tsx +102 -0
- package/src/Link.test.tsx +100 -0
- package/src/Link.tsx +58 -0
- package/src/Menu.test.tsx +20 -0
- package/src/Menu.tsx +17 -5
- package/src/Person.stories.tsx +1 -1
- package/src/PersonTrigger.stories.tsx +1 -1
- package/src/Popover.mdx +4 -2
- package/src/Popover.stories.tsx +11 -9
- package/src/Popover.test.tsx +38 -0
- package/src/Popover.tsx +20 -4
- package/src/ProgressBar.mdx +47 -0
- package/src/ProgressBar.stories.tsx +48 -0
- package/src/ProgressBar.test.tsx +62 -0
- package/src/ProgressBar.tsx +56 -0
- package/src/ReactionPicker.mdx +1 -1
- package/src/ReactionPicker.stories.tsx +3 -2
- package/src/Toolbar.stories.tsx +2 -1
- package/src/index.ts +12 -0
- package/stories/Choosing.mdx +5 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Something attached — a document or an image — drawn as a card.
|
|
4
|
+
*
|
|
5
|
+
* Peek's two attachment components, class for class (UIG-27, Katerina's ruling
|
|
6
|
+
* of 14 September that both apps draw one): `FileAttachmentCard`, the card on
|
|
7
|
+
* something already posted, and `PendingAttachmentChip`, the card in a composer
|
|
8
|
+
* waiting to go. What stays in each app is what only the app can do: fetch the
|
|
9
|
+
* bytes with the reader's own permission, open an image full screen, save a
|
|
10
|
+
* file. The card is told the result — a `src`, an `href`, a `state` — and hands
|
|
11
|
+
* a click back through `onOpen`, `onDownload` and `onRemove`.
|
|
12
|
+
*
|
|
13
|
+
* Two shapes, decided by the file: an **image** with a picture is a 180px
|
|
14
|
+
* thumbnail you can open; anything else is a 240px **row** — a type tile, the
|
|
15
|
+
* name, and what it is. Waiting to be sent (`pending`) it is a 200px row with a
|
|
16
|
+
* remove control on its corner.
|
|
17
|
+
*
|
|
18
|
+
* One change from Peek, by ruling: a file that could not be read has a dashed
|
|
19
|
+
* hairline, as every card that cannot be read does.
|
|
20
|
+
*/
|
|
21
|
+
export type AttachmentCardState = 'ready' | 'loading' | 'unreadable' | 'uploading' | 'failed' | 'warning';
|
|
22
|
+
export interface AttachmentCardProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
|
|
23
|
+
/** The name it was attached under, extension included: it decides the icon and the type label. */
|
|
24
|
+
name: string;
|
|
25
|
+
/** In bytes. */
|
|
26
|
+
size?: number;
|
|
27
|
+
/** Its MIME type, where known: an `image/…` type is an image whatever its name. */
|
|
28
|
+
contentType?: string;
|
|
29
|
+
/** Where a document opens, in a new tab. Without it the row is dimmed and opens nothing. */
|
|
30
|
+
href?: string;
|
|
31
|
+
/** The picture an image card draws. Without it an image is drawn as a row. */
|
|
32
|
+
src?: string;
|
|
33
|
+
/** What a click on an image's picture does — the app's full-screen view. */
|
|
34
|
+
onOpen?: () => void;
|
|
35
|
+
/** Shows a download control on hover or focus, and calls this. */
|
|
36
|
+
onDownload?: () => void;
|
|
37
|
+
/** Waiting to be sent: the composer's 200px row, with a remove control on its corner. */
|
|
38
|
+
pending?: boolean;
|
|
39
|
+
/** Removes a pending card. */
|
|
40
|
+
onRemove?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* `ready` · `loading` (an image on its way) · `unreadable` (it could not be read) ·
|
|
43
|
+
* `uploading`, `failed`, `warning` (while pending). Default `ready`.
|
|
44
|
+
*/
|
|
45
|
+
state?: AttachmentCardState;
|
|
46
|
+
/** The line under the name, in place of its type and size — why it failed, or what the warning is. */
|
|
47
|
+
note?: string;
|
|
48
|
+
/** The note's full words, on hover, where the line is short. */
|
|
49
|
+
noteHint?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare function AttachmentCard({ name, size, contentType, href, src, onOpen, onDownload, pending, onRemove, state, note, noteHint, className, ...props }: AttachmentCardProps): import("react").JSX.Element;
|
|
52
|
+
//# sourceMappingURL=AttachmentCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentCard.d.ts","sourceRoot":"","sources":["../src/AttachmentCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,qBAAqB,EAAW,MAAM,OAAO,CAAA;AAyB9F;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;AA2FzG,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzF,kGAAkG;IAClG,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,yFAAyF;IACzF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,sGAAsG;IACtG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,IAAI,EACJ,GAAG,EACH,MAAM,EACN,UAAU,EACV,OAAe,EACf,QAAQ,EACR,KAAe,EACf,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,+BA+IrB"}
|
package/dist/Card.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A box that stands for one thing — a conversation, a project, a file, an
|
|
4
|
+
* object from another app — drawn as its frame: 8px corners, a fill, a
|
|
5
|
+
* hairline. What goes inside, and the space around it, is the caller's.
|
|
6
|
+
*
|
|
7
|
+
* Both apps drew their cards by hand: 18 of them, sorted by Katerina from
|
|
8
|
+
* photographs on 14 September (UIG-27, docs/GATES.md §0). Her rulings:
|
|
9
|
+
*
|
|
10
|
+
* - **The fill is chosen by what the card sits on**: `surface` on the page,
|
|
11
|
+
* `elevated` on something already filled, `inset` inside a message, `none`
|
|
12
|
+
* for a hairline alone.
|
|
13
|
+
* - **The hairline follows the fill**: the default hairline on `surface` and
|
|
14
|
+
* `elevated`, the subtle one on `inset` and `none`. Every card has 8px
|
|
15
|
+
* corners.
|
|
16
|
+
* - **A card you can pick answers the pointer.** `hairline`: the hairline one
|
|
17
|
+
* step stronger — what a card that is a link does. `fill`: the card lights
|
|
18
|
+
* up and its hairline shows — what a card in a feed does, where the light
|
|
19
|
+
* says which one you are on.
|
|
20
|
+
* - **A card that cannot be read has a dashed hairline**, in both apps.
|
|
21
|
+
*
|
|
22
|
+
* No padding of its own: the cards measured 0 to 12px, and a card with none
|
|
23
|
+
* was one whose content pads itself.
|
|
24
|
+
*/
|
|
25
|
+
export type CardFill = 'surface' | 'elevated' | 'inset' | 'none';
|
|
26
|
+
export type CardHover = 'none' | 'hairline' | 'fill';
|
|
27
|
+
export type CardAttention = 'accent' | 'warning';
|
|
28
|
+
export interface CardProps extends ComponentPropsWithRef<'div'> {
|
|
29
|
+
/** What the card sits on. Default `surface`. */
|
|
30
|
+
fill?: CardFill;
|
|
31
|
+
/** The whole card is a link: an anchor, and its hairline answers the pointer. Navigation stays the app's, as with `Link`. */
|
|
32
|
+
href?: string;
|
|
33
|
+
/** How it answers the pointer. Default `hairline` with an `href`, `none` without. */
|
|
34
|
+
hover?: CardHover;
|
|
35
|
+
/** No hairline until it is pointed at — a row in a feed that shows its edge only when you are on it. */
|
|
36
|
+
quietUntilHover?: boolean;
|
|
37
|
+
/** The one you are on: the selected fill, a subtle hairline, and no hover. */
|
|
38
|
+
selected?: boolean;
|
|
39
|
+
/** Being changed in place: the selected fill with the accent hairline, and no hover. */
|
|
40
|
+
active?: boolean;
|
|
41
|
+
/** A hairline that asks to be looked at — something new (`accent`), or urgent (`warning`). */
|
|
42
|
+
attention?: CardAttention;
|
|
43
|
+
/** It stands for something that could not be read: the hairline is dashed. */
|
|
44
|
+
unreadable?: boolean;
|
|
45
|
+
children: ReactNode;
|
|
46
|
+
}
|
|
47
|
+
export declare function Card({ fill, href, hover, quietUntilHover, selected, active, attention, unreadable, className, children, ...props }: CardProps): import("react").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../src/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAI7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAA;AAChE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAA;AACpD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAA;AAsBhD,MAAM,WAAW,SAAU,SAAQ,qBAAqB,CAAC,KAAK,CAAC;IAC7D,gDAAgD;IAChD,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,6HAA6H;IAC7H,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,qFAAqF;IACrF,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,wGAAwG;IACxG,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wFAAwF;IACxF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,IAAI,CAAC,EACnB,IAAgB,EAChB,IAAI,EACJ,KAAkC,EAClC,eAAuB,EACvB,QAAgB,EAChB,MAAc,EACd,SAAS,EACT,UAAkB,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,+BA+BX"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A word in a sentence that stands for something: a person, a place, a thing
|
|
4
|
+
* written into running text. One line high, level with the words around it.
|
|
5
|
+
*
|
|
6
|
+
* The shape is Peek's inline chip (D67, Peek PR #206, 2026-09-13), class for
|
|
7
|
+
* class, moved into the package so both apps draw one (UIG-27). Three things
|
|
8
|
+
* changed on the way, all ruled by Katerina:
|
|
9
|
+
*
|
|
10
|
+
* - the person tone is `person`, not `mention` — every chip here is a
|
|
11
|
+
* mention of something;
|
|
12
|
+
* - the alignment is a class (`align-top h-[1.4em]`), not a `style` object,
|
|
13
|
+
* so it is part of the class list like every other size in the package;
|
|
14
|
+
* - a chip that leads somewhere takes `href` and `onClick`, the way `NavItem`
|
|
15
|
+
* does: the package draws an anchor, the app's router takes the click.
|
|
16
|
+
*
|
|
17
|
+
* **Why `align-top` and `1.4em`.** `1.4em` is the body text's line height,
|
|
18
|
+
* so the chip is exactly one line tall; `vertical-align: top` pins it to the
|
|
19
|
+
* line box, which keeps the line at 19.6px and the chip's words level with
|
|
20
|
+
* the sentence's, with or without an icon. Measured in Peek on 2026-09-13:
|
|
21
|
+
* `text-bottom` made the line 21.2px and lifted the chip's words 1.6px;
|
|
22
|
+
* `baseline` lifted them 3.8px once an icon came first.
|
|
23
|
+
*/
|
|
24
|
+
/** The shape every tone shares. Exported for a rich-text editor that renders chips from strings. */
|
|
25
|
+
export declare const INLINE_CHIP_CLASSES = "inline-flex h-[1.4em] items-center gap-1 rounded-sm px-1 mx-0.5 align-top text-body-2 font-normal select-none";
|
|
26
|
+
/** What a chip is made of, by what it stands for. */
|
|
27
|
+
export declare const INLINE_CHIP_TONE_CLASSES: {
|
|
28
|
+
/** A thing or a place — anything that is not a person. */
|
|
29
|
+
readonly neutral: "bg-bg-active text-text-primary";
|
|
30
|
+
/** A person. */
|
|
31
|
+
readonly person: "bg-accent-muted text-accent-primary";
|
|
32
|
+
/** A person, called urgently. */
|
|
33
|
+
readonly urgent: "bg-warning-muted text-warning-default";
|
|
34
|
+
/**
|
|
35
|
+
* A reference nobody could resolve — still a mention, just an anonymous one.
|
|
36
|
+
* Its height is the body line's 19.6px written out, because `1.4em` here is
|
|
37
|
+
* the caption's em: 16.8px, with the letters 1.8px above the sentence's
|
|
38
|
+
* baseline. At 19.6px they sit 0.4px off it (measured 2026-09-14; Peek's
|
|
39
|
+
* copy of this chip still has the 16.8px box).
|
|
40
|
+
*/
|
|
41
|
+
readonly quiet: "h-[19.6px] bg-bg-active text-text-muted font-mono text-caption";
|
|
42
|
+
};
|
|
43
|
+
export type InlineChipTone = keyof typeof INLINE_CHIP_TONE_CLASSES;
|
|
44
|
+
/** The chip's classes for a tone, with anything the caller adds. For renderers that cannot use the component. */
|
|
45
|
+
export declare function inlineChipClassName(tone: InlineChipTone, className?: string): string;
|
|
46
|
+
export interface InlineChipProps extends Omit<ComponentPropsWithRef<'a'>, 'children'> {
|
|
47
|
+
/** What the chip stands for. Default `neutral`. */
|
|
48
|
+
tone?: InlineChipTone;
|
|
49
|
+
/** Drawn before the label in a 16px box: a 16px icon, or a 14px one it centres. */
|
|
50
|
+
icon?: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Where the chip leads. With it the chip is an anchor; without it, a span.
|
|
53
|
+
* A router app passes `onClick` too, and navigates there itself.
|
|
54
|
+
*/
|
|
55
|
+
href?: string;
|
|
56
|
+
children: ReactNode;
|
|
57
|
+
}
|
|
58
|
+
export declare function InlineChip({ tone, icon, href, className, children, ...props }: InlineChipProps): import("react").JSX.Element;
|
|
59
|
+
//# sourceMappingURL=InlineChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineChip.d.ts","sourceRoot":"","sources":["../src/InlineChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7D;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,oGAAoG;AACpG,eAAO,MAAM,mBAAmB,kHACiF,CAAA;AAEjH,qDAAqD;AACrD,eAAO,MAAM,wBAAwB;IACnC,0DAA0D;;IAE1D,gBAAgB;;IAEhB,iCAAiC;;IAEjC;;;;;;OAMG;;CAEK,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,wBAAwB,CAAA;AAElE,iHAAiH;AACjH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,UAE3E;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC;IACnF,mDAAmD;IACnD,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,mFAAmF;IACnF,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAgB,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAqB1G"}
|
package/dist/Link.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A link: an anchor with one of four looks, and nothing else of its own.
|
|
4
|
+
*
|
|
5
|
+
* It exists because both apps hand-wrote every link they have — 18 raw `<a>`
|
|
6
|
+
* on 13 September 2026, in three jobs (UIG-27). The looks are the ones those
|
|
7
|
+
* links already had, reduced by Katerina's ruling:
|
|
8
|
+
*
|
|
9
|
+
* - `text` — a link inside written text: the info colour, always underlined,
|
|
10
|
+
* dimming on hover. The look a link in a body of text already had.
|
|
11
|
+
* - `quiet` — a title or a timestamp that is also a link. It takes the colour
|
|
12
|
+
* and size of the text it sits in and underlines on hover. Two looks that
|
|
13
|
+
* differed only in their text became this one (her ruling, 13 September).
|
|
14
|
+
* - `underlined` — a short "open it elsewhere" beside a note. It takes the
|
|
15
|
+
* note's colour, is always underlined, and brightens on hover. A dotted
|
|
16
|
+
* and a solid version became this one, solid (her ruling, 13 September).
|
|
17
|
+
* - `plain` — no look at all: a card or a row that is a link draws itself.
|
|
18
|
+
*
|
|
19
|
+
* **Navigation is the app's.** The package cannot know a router, so like
|
|
20
|
+
* `NavItem` it renders a real anchor and passes every anchor prop through: a
|
|
21
|
+
* router app hands in `onClick`, prevents the default and navigates, and the
|
|
22
|
+
* `href` stays a real address for a modified click or a new tab.
|
|
23
|
+
*/
|
|
24
|
+
export type LinkVariant = 'text' | 'quiet' | 'underlined' | 'plain';
|
|
25
|
+
export interface LinkProps extends ComponentPropsWithRef<'a'> {
|
|
26
|
+
href: string;
|
|
27
|
+
/** Default `text`. */
|
|
28
|
+
variant?: LinkVariant;
|
|
29
|
+
/**
|
|
30
|
+
* Another site, or another app: opens in a new tab, with `noopener
|
|
31
|
+
* noreferrer` so the page it opens cannot reach back into this one.
|
|
32
|
+
*/
|
|
33
|
+
external?: boolean;
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
}
|
|
36
|
+
export declare function Link({ href, variant, external, className, children, ...props }: LinkProps): import("react").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../src/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,YAAY,GAAG,OAAO,CAAA;AASnE,MAAM,WAAW,SAAU,SAAQ,qBAAqB,CAAC,GAAG,CAAC;IAC3D,IAAI,EAAE,MAAM,CAAA;IACZ,sBAAsB;IACtB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,OAAgB,EAAE,QAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAW1G"}
|
package/dist/Menu.d.ts
CHANGED
|
@@ -57,10 +57,20 @@ export interface MenuProps {
|
|
|
57
57
|
unmount: () => void;
|
|
58
58
|
} | null>;
|
|
59
59
|
children: ReactNode;
|
|
60
|
-
/** On the menu's surface — its width
|
|
60
|
+
/** On the menu's surface — its width. **Not its padding**: see
|
|
61
|
+
* `contentClassName`. */
|
|
61
62
|
className?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The padding around the rows, as a class. Default `p-2`, 8px.
|
|
65
|
+
*
|
|
66
|
+
* It is on the scrolling content, not on the panel, so the scrollbar hugs the
|
|
67
|
+
* panel's edge (D63) — and so a padding class on `className` adds to it
|
|
68
|
+
* rather than replacing it. Peek's Later menu asked for `p-1` there and got
|
|
69
|
+
* 12px from `0.12.6` on (PLAN Finding 60). Set it here.
|
|
70
|
+
*/
|
|
71
|
+
contentClassName?: string;
|
|
62
72
|
}
|
|
63
|
-
export declare function Menu({ trigger, align, openOnHover, open, onOpenChange, actionsRef, children, className }: MenuProps): import("react").JSX.Element;
|
|
73
|
+
export declare function Menu({ trigger, align, openOnHover, open, onOpenChange, actionsRef, children, className, contentClassName }: MenuProps): import("react").JSX.Element;
|
|
64
74
|
/**
|
|
65
75
|
* A row that opens another menu beside it — the submenu two Peek menus
|
|
66
76
|
* hand-rolled before this, one of which dropped the ref its edge-flip
|
package/dist/Menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AA+DhI;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACpF;;gBAEY;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAwB1E;AAED,MAAM,WAAW,SAAS;IACxB;;;;;;;;OAQG;IACH,OAAO,EAAE,YAAY,CAAA;IACrB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;gDAC4C;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC;;kFAE8E;IAC9E,UAAU,CAAC,EAAE,SAAS,CAAC;QAAE,KAAK,EAAE,MAAM,IAAI,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC,CAAA;IACzE,QAAQ,EAAE,SAAS,CAAA;IACnB
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AA+DhI;;;;;;;;;;;;;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EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BA4DjL;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,+BASxD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,uFAAuF;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAqB7M;AAED,uEAAuE;AACvE,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAE3F"}
|
package/dist/Popover.d.ts
CHANGED
|
@@ -88,8 +88,23 @@ export interface PopoverProps {
|
|
|
88
88
|
* point at it instead, with `aria-labelledby`. */
|
|
89
89
|
ariaLabel?: string;
|
|
90
90
|
children: ReactNode;
|
|
91
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* On the panel's surface — its width. **Not its padding**: see
|
|
93
|
+
* `contentClassName`.
|
|
94
|
+
*/
|
|
92
95
|
className?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The padding around the children, as a class. Default `p-2`, 8px — what a
|
|
98
|
+
* panel of rows or a small form wants. **A toolbar wants `p-1`.**
|
|
99
|
+
*
|
|
100
|
+
* The padding is on the scrolling content, not on the panel, so a scrollbar
|
|
101
|
+
* is drawn over it and hugs the panel's edge (D63). A padding class on
|
|
102
|
+
* `className` therefore does not replace this one — it adds to it: that is
|
|
103
|
+
* how every toolbar in a `Popover` grew 8px a side at `0.12.6`, measured 13px
|
|
104
|
+
* from the panel's edge to the toolbar where it had been 5px (PLAN Finding
|
|
105
|
+
* 60). Set it here.
|
|
106
|
+
*/
|
|
107
|
+
contentClassName?: string;
|
|
93
108
|
/**
|
|
94
109
|
* A cap on the scrolling box, as a class — `max-h-[360px]`. Without one the
|
|
95
110
|
* panel grows to the room the positioner has, which is the right default for
|
|
@@ -112,5 +127,5 @@ export interface PopoverProps {
|
|
|
112
127
|
*/
|
|
113
128
|
maxHeight?: string;
|
|
114
129
|
}
|
|
115
|
-
export declare function Popover({ trigger, anchor, align, side, open, onOpenChange, finalFocus, actionsRef, ariaLabel, children, className, maxHeight }: PopoverProps): import("react").JSX.Element;
|
|
130
|
+
export declare function Popover({ trigger, anchor, align, side, open, onOpenChange, finalFocus, actionsRef, ariaLabel, children, className, contentClassName, maxHeight }: PopoverProps): import("react").JSX.Element;
|
|
116
131
|
//# sourceMappingURL=Popover.d.ts.map
|
package/dist/Popover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOlF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,GAAG,IAAI,CAAA;IACrC;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IACvB;kFAC8E;IAC9E,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC;;;;;;OAMG;IACH,UAAU,CAA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E,SAAS,CAAA;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;OAUG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAOD,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,KAAc,EAAE,IAAe,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,EAAE,YAAY,+BAyElM"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How much of something is done: a thin rounded track with a success-coloured
|
|
3
|
+
* fill. On Base UI's `Progress`, which owns the `progressbar` role and its
|
|
4
|
+
* numbers; this component writes the look.
|
|
5
|
+
*
|
|
6
|
+
* Both apps hand-built one, each with its own `role="progressbar"` (UIG-27).
|
|
7
|
+
* Their two looks are both kept, because each does a different job:
|
|
8
|
+
*
|
|
9
|
+
* - `default` is Ship's (`ui/ProgressBar.tsx`): 6px, the success colour — a
|
|
10
|
+
* bar someone reads, with the words printed beside it.
|
|
11
|
+
* - `quiet` is Peek's (`ui/ProjectTickets.tsx`): 4px, the muted success colour
|
|
12
|
+
* — a glance on the same line as a count, "not a chart".
|
|
13
|
+
*
|
|
14
|
+
* The props are Ship's, unchanged. The bar alone says nothing a screen reader
|
|
15
|
+
* can use beyond its numbers, so `label` is required; Base UI reads the value
|
|
16
|
+
* out as a percentage.
|
|
17
|
+
*/
|
|
18
|
+
export type ProgressBarVariant = 'default' | 'quiet';
|
|
19
|
+
export interface ProgressBarProps {
|
|
20
|
+
/** How many are done. */
|
|
21
|
+
value: number;
|
|
22
|
+
/** How many there are. At `0` the bar is empty. */
|
|
23
|
+
max: number;
|
|
24
|
+
/** The accessible name — "Items done". */
|
|
25
|
+
label: string;
|
|
26
|
+
/** Default `default`. */
|
|
27
|
+
variant?: ProgressBarVariant;
|
|
28
|
+
/** Placement only: a width, a margin, `flex-1` in a row. */
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ProgressBar({ value, max, label, variant, className }: ProgressBarProps): import("react").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../src/ProgressBar.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAAA;AAapD,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAA;IACX,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAmB,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BASlG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,13 +10,17 @@
|
|
|
10
10
|
* TypeScript that produced it.
|
|
11
11
|
*/
|
|
12
12
|
export { AppShell, type AppShellProps } from './AppShell';
|
|
13
|
+
export { AttachmentCard, type AttachmentCardProps, type AttachmentCardState } from './AttachmentCard';
|
|
13
14
|
export { Avatar, hueFor, initialsFor, type AvatarProps } from './Avatar';
|
|
14
15
|
export { AvatarGroup, type AvatarGroupMember, type AvatarGroupProps } from './AvatarGroup';
|
|
15
16
|
export { Banner, type BannerProps, type BannerTone } from './Banner';
|
|
16
17
|
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './Button';
|
|
18
|
+
export { Card, type CardAttention, type CardFill, type CardHover, type CardProps } from './Card';
|
|
17
19
|
export { Checkbox, type CheckboxProps } from './Checkbox';
|
|
18
20
|
export { Chip, type ChipProps, type ChipType } from './Chip';
|
|
19
21
|
export { ChipInput, InputChip, type ChipInputOption, type ChipInputProps, type InputChipProps } from './ChipInput';
|
|
22
|
+
export { INLINE_CHIP_CLASSES, INLINE_CHIP_TONE_CLASSES, InlineChip, inlineChipClassName, type InlineChipProps, type InlineChipTone, } from './InlineChip';
|
|
23
|
+
export { Link, type LinkProps, type LinkVariant } from './Link';
|
|
20
24
|
export { IconButton, type IconButtonProps, type IconButtonVariant } from './IconButton';
|
|
21
25
|
export { Kbd, type KbdProps } from './Kbd';
|
|
22
26
|
export { IdentityMenu, IdentityPanel, type Identity, type IdentityMenuProps, type IdentityPanelProps } from './IdentityMenu';
|
|
@@ -30,6 +34,7 @@ export { DialogShell, type DialogShellProps } from './DialogShell';
|
|
|
30
34
|
export { Divider, type DividerProps } from './Divider';
|
|
31
35
|
export { EditableText, type EditableTextProps } from './EditableText';
|
|
32
36
|
export { EmptyState, type EmptyStateProps } from './EmptyState';
|
|
37
|
+
export { ProgressBar, type ProgressBarProps, type ProgressBarVariant } from './ProgressBar';
|
|
33
38
|
export { SkeletonBar, SkeletonList, SkeletonRow } from './Skeleton';
|
|
34
39
|
export { Breadcrumb, type BreadcrumbProps, type Crumb } from './Breadcrumb';
|
|
35
40
|
export { EnterHint, Menu, MenuItem, MenuPanel, MenuRow, MenuSection, MenuSub, type MenuItemProps, type MenuPanelProps, type MenuProps, type MenuSubProps } from './Menu';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,MAAM,E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