@imfusion/web-ui 0.8.1-dev.2.g74f81c31 → 0.8.1-dev.20.g50b02289
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/CHANGELOG.md +51 -1
- package/README.md +17 -17
- package/dist/components/account-card/account-card.d.ts +42 -12
- package/dist/components/card/card.d.ts +15 -1
- package/dist/components/field/field.d.ts +5 -2
- package/dist/components/slider/slider.d.ts +11 -1
- package/dist/components/typo/typo.d.ts +20 -11
- package/dist/index.js +1256 -1172
- package/dist/integrations/frame-selection/frame-selection-view.d.ts +24 -0
- package/dist/integrations/frame-selection/frame-selection.d.ts +21 -0
- package/dist/integrations/frame-selection/frame-selection.meta.d.ts +2 -0
- package/dist/integrations/frame-selection/index.d.ts +2 -0
- package/dist/integrations/frame-selection.js +121 -0
- package/dist/integrations/image-display-options.js +71 -70
- package/dist/llms/evals/runner/config.d.ts +1 -0
- package/dist/separator-BAxxttef.js +26 -0
- package/dist/slider-gyIYWSy3.js +116 -0
- package/dist/style.css +1 -1
- package/dist/tabs-9d4oaDwZ.js +295 -0
- package/dist/utils/break-hints.d.ts +3 -0
- package/dist/utils/status-glyphs.d.ts +4 -0
- package/dist/vite.js +1 -1
- package/dist/web-ui-cli.js +1 -1
- package/docs/user-guide/AgentTooling.mdx +8 -3
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +188 -20
- package/src/llms/llms.gen.txt +9 -3
- package/src/llms/skills/imf-web-ui/SKILL.md +2 -0
- package/src/llms/skills/imf-web-ui-audit/SKILL.md +5 -3
- package/src/llms/skills/imf-web-ui-components/SKILL.md +3 -1
- package/src/llms/skills/imf-web-ui-conventions/templates/AUDIT_CHECKLIST.md +1 -0
- package/src/llms/skills/imf-web-ui-conventions/topics/authentication.md +2 -1
- package/src/llms/skills/imf-web-ui-conventions/topics/data.md +5 -3
- package/src/llms/skills/imf-web-ui-conventions/topics/typescript.md +14 -0
- package/src/llms/skills/imf-web-ui-setup/SKILL.md +2 -0
- package/src/llms/skills/imf-web-ui-update/SKILL.md +37 -6
- package/src/llms/skills/imf-web-ui-user-profile/SKILL.md +95 -0
- package/src/llms/skills/imf-web-ui-ux/SKILL.md +2 -0
- package/dist/tabs-BS6rqrrA.js +0 -398
- /package/dist/{paths-Oi0v8x-w.js → paths-CUyf9wjm.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,61 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Highlights
|
|
6
|
+
|
|
7
|
+
#### Skills that fit the person
|
|
8
|
+
|
|
9
|
+
On the first run, the agent asks a few short questions, one at a time: your name, your technical background, how much you
|
|
10
|
+
have built for the web, how comfortable you are with npm and the terminal, how much explanation you want, and how you like to work.
|
|
11
|
+
You can decline any question, and you see the result before anything is saved.
|
|
12
|
+
|
|
13
|
+
The answers go to `~/.config/imfusion/web-ui/consumer-profile.md`, outside the project. Every skill you run reads that file.
|
|
14
|
+
Someone new to npm gets a plain sentence before each command and a short gloss for a term like lockfile; a seasoned developer
|
|
15
|
+
gets the short version. You can ask for a pause after each step or after each finished piece, and the approvals the
|
|
16
|
+
workflows already ask for stay as they are. Say "change my profile" to answer again.
|
|
17
|
+
|
|
5
18
|
### Added
|
|
6
19
|
|
|
20
|
+
- Agent skills — Nikolaus Brunner <brunner@imfusion.com>
|
|
21
|
+
- `web-ui-dev-user-profile` keeps a contributor's profile in `dev-profile.md` beside the consumer one;
|
|
22
|
+
`web-ui-dev-start` and `web-ui-dev-getting-started` read it before any other step.
|
|
7
23
|
- Components — Nikolaus Brunner <brunner@imfusion.com>
|
|
8
24
|
- `Avatar` shows a person's photo, their initials, or a person glyph, in three sizes and an on-color context.
|
|
9
|
-
- `AccountCard` links to the signed-in person's account
|
|
25
|
+
- `AccountCard` links to the signed-in person's account: a large title over a quiet subtitle, then the organization and a
|
|
26
|
+
mono role under a rule, with an action such as Log out in its top row. Emails wrap at the `@` and at dots, and
|
|
27
|
+
`AccountCard.Group` lists several cards with the current one marked.
|
|
28
|
+
- `Typo.Eyebrow` sets a short mono, uppercase label above a heading, in the quiet `support` color by default.
|
|
29
|
+
- `Card.Status` marks a card's outcome with a tinted column or band and the `info`, `positive`, `warning`, or `negative`
|
|
30
|
+
glyph that `Callout` uses for the same status.
|
|
31
|
+
- `Typo` body members (`P`, `Lead`, `Detail`, `Small`, `Blockquote`, `Highlight`, `Link`, and the lists) take an
|
|
32
|
+
optional `weight` of `regular`, `medium`, or `strong`, for short body text on cards that reads thin at the regular weight.
|
|
33
|
+
- Components — Stephan Wenninger <wenninger@imfusion.com>
|
|
34
|
+
- `Slider.Root` has a `variant="position"` that draws a scrollbar-like trough and bar thumb for picking one position in a
|
|
35
|
+
range.
|
|
36
|
+
- `FrameSelection`, from `@imfusion/web-ui/integrations/frame-selection`, steps through the frames of ImFusion Web SDK
|
|
37
|
+
image sets with a position slider and a current-of-total readout.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Documentation — Nikolaus Brunner <brunner@imfusion.com>
|
|
42
|
+
- The consumer agent tooling diagram groups the skills you run in one lane, so the router and the profile each reach them
|
|
43
|
+
with a single edge.
|
|
44
|
+
- Agent skills — Nikolaus Brunner <brunner@imfusion.com>
|
|
45
|
+
- `imf-web-ui-conventions` declares named functions, local component helpers included, with `function`, and keeps
|
|
46
|
+
inline callbacks as arrows.
|
|
47
|
+
- `imf-web-ui-conventions` loads route data with `queryClient.query({ ...options, staleTime: "static" })` in place of the
|
|
48
|
+
deprecated `ensureQueryData`.
|
|
49
|
+
- `imf-web-ui-update` opens with the route and its decision points, and names the optional `imf-web-ui-audit full` in
|
|
50
|
+
the report and its closing offer.
|
|
51
|
+
- `web-ui-dev-changelog` gives every new component, and every visibly changed one, a light and a dark screenshot of its
|
|
52
|
+
story in the release highlights.
|
|
53
|
+
- `imf-web-ui-update` checks for a running npm process by PID and working directory, and shows a command line only for
|
|
54
|
+
a process in the package being updated.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- Components — Nikolaus Brunner <brunner@imfusion.com>
|
|
59
|
+
- Screen readers announce `Field.Error` when its message appears; it has `role="alert"` by default.
|
|
10
60
|
|
|
11
61
|
---
|
|
12
62
|
|
package/README.md
CHANGED
|
@@ -70,23 +70,23 @@ npm run git:config
|
|
|
70
70
|
|
|
71
71
|
The main development skills are:
|
|
72
72
|
|
|
73
|
-
| Skill | Use it for
|
|
74
|
-
| ---------------------------------- |
|
|
75
|
-
| `/web-ui-dev-getting-started` | Route a first task based on
|
|
76
|
-
| `/web-ui-dev-start` | Establish task context and working location.
|
|
77
|
-
| `/web-ui-dev-new-component` | Add a primitive.
|
|
78
|
-
| `/web-ui-dev-update-component` | Change an existing primitive.
|
|
79
|
-
| `/web-ui-dev-design-component` | Apply the ImFusion brand to a component.
|
|
80
|
-
| `/web-ui-dev-story` | Author a Storybook story.
|
|
81
|
-
| `/web-ui-dev-commit` | Verify and commit a change.
|
|
82
|
-
| `/web-ui-dev-changelog` | Write the changelog entry or curate a release.
|
|
83
|
-
| `/web-ui-dev-release` | Prepare and ship a release.
|
|
84
|
-
| `/web-ui-dev-audit-docs` | Check docs for drift before a commit.
|
|
85
|
-
| `/web-ui-dev-llm-framework` | Keep the LLM framework diagrams in sync.
|
|
86
|
-
| `/web-ui-dev-eval-consumer-skills` | Evaluate the shipped consumer skills.
|
|
87
|
-
| `/web-ui-dev-claude-design-sync` | Update the design system in Claude Design.
|
|
88
|
-
| `/web-ui-dev-teardown-worktree` | Remove a finished worktree.
|
|
89
|
-
| `/web-ui-dev-mcp` | Recover one optional MCP capability.
|
|
73
|
+
| Skill | Use it for |
|
|
74
|
+
| ---------------------------------- | ---------------------------------------------- |
|
|
75
|
+
| `/web-ui-dev-getting-started` | Route a first task based on profile and goal. |
|
|
76
|
+
| `/web-ui-dev-start` | Establish task context and working location. |
|
|
77
|
+
| `/web-ui-dev-new-component` | Add a primitive. |
|
|
78
|
+
| `/web-ui-dev-update-component` | Change an existing primitive. |
|
|
79
|
+
| `/web-ui-dev-design-component` | Apply the ImFusion brand to a component. |
|
|
80
|
+
| `/web-ui-dev-story` | Author a Storybook story. |
|
|
81
|
+
| `/web-ui-dev-commit` | Verify and commit a change. |
|
|
82
|
+
| `/web-ui-dev-changelog` | Write the changelog entry or curate a release. |
|
|
83
|
+
| `/web-ui-dev-release` | Prepare and ship a release. |
|
|
84
|
+
| `/web-ui-dev-audit-docs` | Check docs for drift before a commit. |
|
|
85
|
+
| `/web-ui-dev-llm-framework` | Keep the LLM framework diagrams in sync. |
|
|
86
|
+
| `/web-ui-dev-eval-consumer-skills` | Evaluate the shipped consumer skills. |
|
|
87
|
+
| `/web-ui-dev-claude-design-sync` | Update the design system in Claude Design. |
|
|
88
|
+
| `/web-ui-dev-teardown-worktree` | Remove a finished worktree. |
|
|
89
|
+
| `/web-ui-dev-mcp` | Recover one optional MCP capability. |
|
|
90
90
|
|
|
91
91
|
### Work on it from a consumer app
|
|
92
92
|
|
|
@@ -4,20 +4,26 @@ import * as AvatarParts from '../avatar/avatar';
|
|
|
4
4
|
declare const root: (props?: ({
|
|
5
5
|
context?: "default" | "oncolor" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
type RootProps =
|
|
7
|
+
type RootProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof root>;
|
|
8
8
|
/**
|
|
9
|
-
* AccountCard.Root — the
|
|
10
|
-
*
|
|
11
|
-
* an inset rule. Its accessible name is the title and description; the avatar stays decorative.
|
|
12
|
-
*
|
|
13
|
-
* Place `AccountCard.Action` beside the root, not inside it: a link cannot contain a button.
|
|
9
|
+
* AccountCard.Root — the signed-in person's card: `AccountCard.Link` and, in its top row, `AccountCard.Action`. The
|
|
10
|
+
* action sits beside the link, not inside it, since a link cannot contain a button.
|
|
14
11
|
*/
|
|
15
12
|
declare function Root({
|
|
16
13
|
/** Explicit saturated-surface context; this is never inferred from an ancestor. */
|
|
17
|
-
context,
|
|
14
|
+
context, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
18
15
|
declare namespace Root {
|
|
19
16
|
var displayName: string;
|
|
20
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* AccountCard.Link — the link to the account, holding `AccountCard.Avatar`, `AccountCard.Title`,
|
|
20
|
+
* `AccountCard.Subtitle`, `AccountCard.Description`, and `AccountCard.Role`. Pass a router link through `render`. Its
|
|
21
|
+
* accessible name is its text; the avatar stays decorative.
|
|
22
|
+
*/
|
|
23
|
+
declare function Link({ render, ...props }: useRender.ComponentProps<"a">): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
24
|
+
declare namespace Link {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
21
27
|
type AvatarProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
22
28
|
/** The person's photo. Until it loads, and when it fails, the initials or the person glyph show instead. */
|
|
23
29
|
src?: string;
|
|
@@ -32,22 +38,46 @@ declare function Avatar({ src, size, children, ...props }: AvatarProps): import(
|
|
|
32
38
|
declare namespace Avatar {
|
|
33
39
|
var displayName: string;
|
|
34
40
|
}
|
|
35
|
-
/**
|
|
36
|
-
|
|
41
|
+
/**
|
|
42
|
+
* AccountCard.Title — the account's name, or the email's local part until a name exists. Set large; text wraps before
|
|
43
|
+
* an `@` and after a dot.
|
|
44
|
+
*/
|
|
45
|
+
declare function Title({ children, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
37
46
|
declare namespace Title {
|
|
38
47
|
var displayName: string;
|
|
39
48
|
}
|
|
40
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* AccountCard.Subtitle — the quiet line under the title: the email's domain, or the whole email once the title is a
|
|
51
|
+
* name. Text wraps before an `@` and after a dot.
|
|
52
|
+
*/
|
|
53
|
+
declare function Subtitle({ children, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
declare namespace Subtitle {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
/** AccountCard.Description — the organization, under a rule at the foot of the card. */
|
|
41
58
|
declare function Description(props: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
42
59
|
declare namespace Description {
|
|
43
60
|
var displayName: string;
|
|
44
61
|
}
|
|
62
|
+
/** AccountCard.Role — a mono uppercase label beside the description, such as the person's role. */
|
|
63
|
+
declare function Role(props: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
declare namespace Role {
|
|
65
|
+
var displayName: string;
|
|
66
|
+
}
|
|
45
67
|
/**
|
|
46
|
-
* AccountCard.Action — a
|
|
68
|
+
* AccountCard.Action — a slot in the card's top row, beside the link, such as a ghost icon `Button` that logs out. The
|
|
47
69
|
* button carries its own `aria-label` and its own `context`.
|
|
48
70
|
*/
|
|
49
71
|
declare function Action(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
50
72
|
declare namespace Action {
|
|
51
73
|
var displayName: string;
|
|
52
74
|
}
|
|
53
|
-
|
|
75
|
+
/**
|
|
76
|
+
* AccountCard.Group — a list of cards, such as accounts to switch between. Inside it a link with `aria-current="page"`
|
|
77
|
+
* shows as current; a standalone card is always the signed-in account and shows no current state.
|
|
78
|
+
*/
|
|
79
|
+
declare function Group(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
declare namespace Group {
|
|
81
|
+
var displayName: string;
|
|
82
|
+
}
|
|
83
|
+
export { Root, Link, Avatar, Title, Subtitle, Description, Role, Action, Group };
|
|
@@ -42,6 +42,20 @@ declare function Image({ alt, aspectRatio, style, ...props }: ImageProps): impor
|
|
|
42
42
|
declare namespace Image {
|
|
43
43
|
var displayName: string;
|
|
44
44
|
}
|
|
45
|
+
declare const status: (props?: ({
|
|
46
|
+
variant?: "positive" | "negative" | "warning" | "info" | null | undefined;
|
|
47
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
48
|
+
type StatusProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof status>;
|
|
49
|
+
/**
|
|
50
|
+
* Card.Status — a tinted slot that marks the card's status with the variant's glyph. Pass
|
|
51
|
+
* children to replace the glyph. Like `Card.Image`, place it first among the slots: a column
|
|
52
|
+
* beside the body in a horizontal card, a band above it in a vertical one. Decorative
|
|
53
|
+
* (`aria-hidden`); the card's text carries the status.
|
|
54
|
+
*/
|
|
55
|
+
declare function Status({ variant, children, ...props }: StatusProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
declare namespace Status {
|
|
57
|
+
var displayName: string;
|
|
58
|
+
}
|
|
45
59
|
type SlotProps = React.HTMLAttributes<HTMLDivElement>;
|
|
46
60
|
/** Card.Header — the padded title region at the top of the card body. */
|
|
47
61
|
declare function Header(props: SlotProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -62,4 +76,4 @@ declare function Footer(props: SlotProps): import("react/jsx-runtime").JSX.Eleme
|
|
|
62
76
|
declare namespace Footer {
|
|
63
77
|
var displayName: string;
|
|
64
78
|
}
|
|
65
|
-
export { Root, Image, Header, Content, Footer };
|
|
79
|
+
export { Root, Image, Status, Header, Content, Footer };
|
|
@@ -29,8 +29,11 @@ export declare function Control(props: React.ComponentProps<typeof FieldPrimitiv
|
|
|
29
29
|
export declare namespace Control {
|
|
30
30
|
var displayName: string;
|
|
31
31
|
}
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Field.Error — an inline validation message shown when its match condition fails.
|
|
34
|
+
* It announces itself with `role="alert"`; pass another `role` to quiet it.
|
|
35
|
+
*/
|
|
36
|
+
export declare function Error({ role, ...props }: React.ComponentProps<typeof FieldPrimitive.Error>): import("react/jsx-runtime").JSX.Element;
|
|
34
37
|
export declare namespace Error {
|
|
35
38
|
var displayName: string;
|
|
36
39
|
}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { Slider as SliderPrimitive } from '@base-ui/react/slider';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const sliderRoot: (props?: ({
|
|
4
|
+
variant?: "default" | "position" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
interface RootProps extends React.ComponentProps<typeof SliderPrimitive.Root>, VariantProps<typeof sliderRoot> {
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Slider.Root — value selector along a continuous or stepped track.
|
|
4
10
|
*
|
|
11
|
+
* `variant="position"` draws a scrollbar-like trough and bar thumb for picking one position
|
|
12
|
+
* between `min` and `max`, such as a slice or frame; `onValueChange` reports the position.
|
|
13
|
+
*
|
|
5
14
|
* @doc https://base-ui.com/react/components/slider
|
|
6
15
|
* @llm https://base-ui.com/react/components/slider.md
|
|
7
16
|
*/
|
|
8
|
-
export declare function Root({ value, defaultValue, onValueChange, onValueCommitted, min, max, step, largeStep, minStepsBetweenValues, disabled, orientation, name, form, locale, thumbAlignment, thumbCollisionBehavior, format, ...props }:
|
|
17
|
+
export declare function Root({ variant, value, defaultValue, onValueChange, onValueCommitted, min, max, step, largeStep, minStepsBetweenValues, disabled, orientation, name, form, locale, thumbAlignment, thumbCollisionBehavior, format, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
18
|
export declare namespace Root {
|
|
10
19
|
var displayName: string;
|
|
11
20
|
}
|
|
@@ -39,3 +48,4 @@ export declare function Thumb({ index, ...props }: React.ComponentProps<typeof S
|
|
|
39
48
|
export declare namespace Thumb {
|
|
40
49
|
var displayName: string;
|
|
41
50
|
}
|
|
51
|
+
export {};
|
|
@@ -5,14 +5,18 @@ declare const typo: (props?: ({
|
|
|
5
5
|
variant?: "primary" | "positive" | "negative" | "oncolor" | "main" | "support" | "minor" | "brand" | "warning" | "info" | "accent-1" | "accent-2" | "accent-3" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
type TypoProps = VariantProps<typeof typo>;
|
|
8
|
+
type WeightProps = {
|
|
9
|
+
/** Font weight. Omit to keep the member's default; `medium` firms up short body text on cards. */
|
|
10
|
+
weight?: "regular" | "medium" | "strong";
|
|
11
|
+
};
|
|
8
12
|
type HeadingProps = useRender.ComponentProps<"h1"> & TypoProps;
|
|
9
13
|
type LongHeadingProps = HeadingProps & {
|
|
10
14
|
/** Whether lines after the first use a translucent text color. */
|
|
11
15
|
fadeAfterFirstLine?: boolean;
|
|
12
16
|
};
|
|
13
|
-
type ParagraphProps = useRender.ComponentProps<"p"> & TypoProps;
|
|
17
|
+
type ParagraphProps = useRender.ComponentProps<"p"> & TypoProps & WeightProps;
|
|
14
18
|
export type TypoLinkKind = "external" | "internal";
|
|
15
|
-
type LinkProps = useRender.ComponentProps<"a"> & TypoProps & {
|
|
19
|
+
type LinkProps = useRender.ComponentProps<"a"> & TypoProps & WeightProps & {
|
|
16
20
|
/** Link target scope. `"external"` (default) opens in a new tab; `"internal"` stays in the current tab. */
|
|
17
21
|
kind?: TypoLinkKind;
|
|
18
22
|
};
|
|
@@ -42,27 +46,32 @@ export declare namespace H4 {
|
|
|
42
46
|
var displayName: string;
|
|
43
47
|
}
|
|
44
48
|
/** Typo.P — body paragraph. */
|
|
45
|
-
export declare function P({ variant, render, ...props }: ParagraphProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
49
|
+
export declare function P({ variant, weight, render, ...props }: ParagraphProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
46
50
|
export declare namespace P {
|
|
47
51
|
var displayName: string;
|
|
48
52
|
}
|
|
49
53
|
/** Typo.Lead — emphasised intro paragraph. */
|
|
50
|
-
export declare function Lead({ variant, render, ...props }: ParagraphProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
54
|
+
export declare function Lead({ variant, weight, render, ...props }: ParagraphProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
51
55
|
export declare namespace Lead {
|
|
52
56
|
var displayName: string;
|
|
53
57
|
}
|
|
54
58
|
/** Typo.Detail — compact UI text, between Small (12px) and P (16px). */
|
|
55
|
-
export declare function Detail({ variant, render, ...props }: useRender.ComponentProps<"p"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
59
|
+
export declare function Detail({ variant, weight, render, ...props }: useRender.ComponentProps<"p"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
56
60
|
export declare namespace Detail {
|
|
57
61
|
var displayName: string;
|
|
58
62
|
}
|
|
59
63
|
/** Typo.Small — fine print. */
|
|
60
|
-
export declare function Small({ variant, render, ...props }: useRender.ComponentProps<"small"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
64
|
+
export declare function Small({ variant, weight, render, ...props }: useRender.ComponentProps<"small"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
61
65
|
export declare namespace Small {
|
|
62
66
|
var displayName: string;
|
|
63
67
|
}
|
|
68
|
+
/** Typo.Eyebrow — short uppercase label above a heading. Also called a kicker or overline. */
|
|
69
|
+
export declare function Eyebrow({ variant, render, ...props }: useRender.ComponentProps<"p"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
70
|
+
export declare namespace Eyebrow {
|
|
71
|
+
var displayName: string;
|
|
72
|
+
}
|
|
64
73
|
/** Typo.Blockquote — pulled quotation. */
|
|
65
|
-
export declare function Blockquote({ variant, render, ...props }: useRender.ComponentProps<"blockquote"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
74
|
+
export declare function Blockquote({ variant, weight, render, ...props }: useRender.ComponentProps<"blockquote"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
66
75
|
export declare namespace Blockquote {
|
|
67
76
|
var displayName: string;
|
|
68
77
|
}
|
|
@@ -75,22 +84,22 @@ export declare namespace InlineCode {
|
|
|
75
84
|
var displayName: string;
|
|
76
85
|
}
|
|
77
86
|
/** Typo.Highlight — inline mark/highlight. */
|
|
78
|
-
export declare function Highlight({ variant, render, ...props }: useRender.ComponentProps<"mark"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
87
|
+
export declare function Highlight({ variant, weight, render, ...props }: useRender.ComponentProps<"mark"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
79
88
|
export declare namespace Highlight {
|
|
80
89
|
var displayName: string;
|
|
81
90
|
}
|
|
82
91
|
/** Typo.Link — inline anchor with an optional local Web UI directional icon. */
|
|
83
|
-
export declare function Link({ variant, kind, render, ...props }: LinkProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
92
|
+
export declare function Link({ variant, weight, kind, render, ...props }: LinkProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
84
93
|
export declare namespace Link {
|
|
85
94
|
var displayName: string;
|
|
86
95
|
}
|
|
87
96
|
/** Typo.OrderedList — numbered list. */
|
|
88
|
-
export declare function OrderedList({ variant, render, ...props }: useRender.ComponentProps<"ol"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
97
|
+
export declare function OrderedList({ variant, weight, render, ...props }: useRender.ComponentProps<"ol"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
89
98
|
export declare namespace OrderedList {
|
|
90
99
|
var displayName: string;
|
|
91
100
|
}
|
|
92
101
|
/** Typo.UnorderedList — bulleted list. */
|
|
93
|
-
export declare function UnorderedList({ variant, render, ...props }: useRender.ComponentProps<"ul"> & TypoProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
102
|
+
export declare function UnorderedList({ variant, weight, render, ...props }: useRender.ComponentProps<"ul"> & TypoProps & WeightProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
94
103
|
export declare namespace UnorderedList {
|
|
95
104
|
var displayName: string;
|
|
96
105
|
}
|