@imfusion/web-ui 0.8.1-dev.58.g0912b389 → 0.8.1-dev.64.gbde1f63f
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 +10 -0
- package/dist/{code-GwkswukD.js → code-BYkr5k55.js} +12 -12
- package/dist/components/account-card/account-card.d.ts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/button/button.d.ts +10 -4
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/chip/chip.cva.d.ts +1 -1
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/kbd/aria-key-shortcuts.d.ts +5 -0
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/kbd.d.ts +14 -0
- package/dist/components/kbd/kbd.meta.d.ts +2 -0
- package/dist/components/logo/logo.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/row/row.d.ts +2 -2
- package/dist/components/stack/stack.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +7 -1
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/components/typo/typo.d.ts +1 -1
- package/dist/icons/catalog.gen.d.ts +7 -0
- package/dist/icons/icons.gen.d.ts +1 -0
- package/dist/{icons-DUxZcuf9.js → icons-BsK_o-Cb.js} +1833 -1814
- package/dist/icons.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1349 -1334
- package/dist/integrations/code-highlight.js +1 -1
- package/dist/integrations/frame-selection.js +7 -7
- package/dist/integrations/image-display-options.js +71 -71
- package/dist/style.css +1 -1
- package/dist/tabs-DRyqtS04.js +358 -0
- package/package.json +2 -1
- package/src/docgen/doc.gen.json +58 -0
- package/src/llms/icon-catalog.gen.json +8 -0
- package/src/llms/llms.gen.txt +5 -0
- package/src/llms/skills/imf-web-ui/SKILL.md +1 -1
- package/src/llms/skills/imf-web-ui-conventions/topics/tooling.md +22 -19
- package/dist/tabs-Dsfp8Ogj.js +0 -295
package/CHANGELOG.md
CHANGED
|
@@ -173,6 +173,8 @@ AppShell sections draw no dividers. Delete overrides of the border properties, w
|
|
|
173
173
|
([CP-202](https://imfusion.atlassian.net/browse/CP-202)).
|
|
174
174
|
- `web-ui-dev-new-icon` adds custom icons from an SVG, a Figma link, a Claude Design project, or a description. It checks the icon catalog
|
|
175
175
|
first, and codegen validates the SVGs in `src/icons/svg/` and exports them beside the Iconoir set ([WEBSDK-267](https://imfusion.atlassian.net/browse/WEBSDK-267)).
|
|
176
|
+
- `imf-web-ui-conventions` recommends TanStack Hotkeys for keyboard shortcuts, and its tooling map names each tool's
|
|
177
|
+
documentation source: `npx @tanstack/cli` with the library id for TanStack, the official site for the rest.
|
|
176
178
|
- Components — Stephan Wenninger <wenninger@imfusion.com>
|
|
177
179
|
- `Slider.Root` has a `variant="position"` that draws a scrollbar-like trough and bar thumb for picking one position in a
|
|
178
180
|
range.
|
|
@@ -180,6 +182,14 @@ AppShell sections draw no dividers. Delete overrides of the border properties, w
|
|
|
180
182
|
image sets with a position slider and a current-of-total readout.
|
|
181
183
|
- `IconButton` is a square `Button` that shows a single icon and no visible text. `label` sets its accessible name, the
|
|
182
184
|
glyph size follows the button size, and `iconProps` passes props such as `strokeWidth` to the icon.
|
|
185
|
+
- `Kbd` shows a keyboard key as a keycap with a chamfered side face, tinted from the text around it so it fits any
|
|
186
|
+
surface. A combination such as `Ctrl Z` goes in one key, and `icon` adds a keyboard glyph before it for a shortcut in
|
|
187
|
+
running text. `variant` is `default`, `primary`, or `flat`, the key without its side face.
|
|
188
|
+
- `@imfusion/web-ui/icons` has a `Keyboard` icon.
|
|
189
|
+
- `Button`, `IconButton`, and `Toggle` take a `shortcut` prop that shows the activating key in the top corner at the end
|
|
190
|
+
of the line and sets `aria-keyshortcuts` from it. On a chamfered button the key sits clear of the cut. An
|
|
191
|
+
`IconButton` or `Toggle` with a key grows one size so its icon clears the hint. The prop only shows the key; the app
|
|
192
|
+
binds it, for example with TanStack Hotkeys.
|
|
183
193
|
- AppShell ([WEBSDK-243](https://imfusion.atlassian.net/browse/WEBSDK-243)) — Nikolaus Brunner <brunner@imfusion.com>
|
|
184
194
|
- `--imf-ui-appshell-aside-min-width` (`max(20rem, 20cqi)`) is the narrowest the docked aside gets, dragged or not.
|
|
185
195
|
- `--imf-ui-appshell-main-min-width` (`max(24rem, 45cqi)`) caps the docked aside so Main keeps at least 45% of the shell.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
2
|
+
import { Xo as t, ja as n, pM as r } from "./icons-BsK_o-Cb.js";
|
|
3
|
+
import { t as i } from "./meta-V_KyLeGn.js";
|
|
4
4
|
import { cx as a } from "class-variance-authority";
|
|
5
5
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
import { useCallback as l, useEffect as u, useRef as d, useState as f } from "react";
|
|
@@ -32,8 +32,8 @@ var g = {
|
|
|
32
32
|
Inline: () => v,
|
|
33
33
|
InlineLink: () => y
|
|
34
34
|
});
|
|
35
|
-
function v({ copyable: e = !1, children:
|
|
36
|
-
let { copied: u, copy: f } = h(), _ = d(null), v = u ?
|
|
35
|
+
function v({ copyable: e = !1, children: i, render: a, ...l }) {
|
|
36
|
+
let { copied: u, copy: f } = h(), _ = d(null), v = u ? n : t;
|
|
37
37
|
return m({
|
|
38
38
|
defaultTagName: "code",
|
|
39
39
|
render: a,
|
|
@@ -43,7 +43,7 @@ function v({ copyable: e = !1, children: t, render: a, ...l }) {
|
|
|
43
43
|
children: /* @__PURE__ */ c(o, { children: [
|
|
44
44
|
/* @__PURE__ */ s("span", {
|
|
45
45
|
ref: _,
|
|
46
|
-
children:
|
|
46
|
+
children: i
|
|
47
47
|
}),
|
|
48
48
|
e && /* @__PURE__ */ s("span", { className: g.separator }),
|
|
49
49
|
e && /* @__PURE__ */ s("button", {
|
|
@@ -52,7 +52,7 @@ function v({ copyable: e = !1, children: t, render: a, ...l }) {
|
|
|
52
52
|
"data-copied": u || void 0,
|
|
53
53
|
"aria-label": u ? "Copied" : "Copy",
|
|
54
54
|
onClick: () => f(_.current?.textContent ?? ""),
|
|
55
|
-
children: /* @__PURE__ */ s(
|
|
55
|
+
children: /* @__PURE__ */ s(r, {
|
|
56
56
|
glyph: v,
|
|
57
57
|
size: 12,
|
|
58
58
|
strokeWidth: 2,
|
|
@@ -85,15 +85,15 @@ function y({ kind: e = "external", ...t }) {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
y.displayName = "Code.InlineLink";
|
|
88
|
-
function b({ className: e, language:
|
|
89
|
-
let { copied: f, copy: p } = h(), m = d(null), _ = f ?
|
|
88
|
+
function b({ className: e, language: i, hideCopy: o = !1, children: l, ...u }) {
|
|
89
|
+
let { copied: f, copy: p } = h(), m = d(null), _ = f ? n : t;
|
|
90
90
|
return /* @__PURE__ */ c("div", {
|
|
91
91
|
"data-imf-ui-component": "Code.Block",
|
|
92
92
|
className: a(g.block, e),
|
|
93
93
|
children: [
|
|
94
|
-
|
|
94
|
+
i != null && /* @__PURE__ */ s("span", {
|
|
95
95
|
className: g.language,
|
|
96
|
-
children:
|
|
96
|
+
children: i
|
|
97
97
|
}),
|
|
98
98
|
!o && /* @__PURE__ */ s("button", {
|
|
99
99
|
type: "button",
|
|
@@ -101,7 +101,7 @@ function b({ className: e, language: t, hideCopy: o = !1, children: l, ...u }) {
|
|
|
101
101
|
"data-copied": f || void 0,
|
|
102
102
|
"aria-label": f ? "Copied" : "Copy",
|
|
103
103
|
onClick: () => p(m.current?.textContent ?? ""),
|
|
104
|
-
children: /* @__PURE__ */ s(
|
|
104
|
+
children: /* @__PURE__ */ s(r, {
|
|
105
105
|
glyph: _,
|
|
106
106
|
size: 12,
|
|
107
107
|
strokeWidth: 2,
|
|
@@ -124,7 +124,7 @@ b.displayName = "Code.Block";
|
|
|
124
124
|
//#region src/components/code/code.meta.ts
|
|
125
125
|
var x = {
|
|
126
126
|
name: "Code",
|
|
127
|
-
category:
|
|
127
|
+
category: i.display,
|
|
128
128
|
status: "stable",
|
|
129
129
|
namespace: !0,
|
|
130
130
|
description: "Displays source code inline or in a block, with optional language labels and copying. Also called a code snippet or code block.",
|
|
@@ -2,7 +2,7 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as AvatarParts from '../avatar/avatar';
|
|
4
4
|
declare const root: (props?: ({
|
|
5
|
-
context?: "
|
|
5
|
+
context?: "oncolor" | "default" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
type RootProps = React.ComponentProps<"div"> & VariantProps<typeof root>;
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { Avatar as AvatarPrimitive } from '@base-ui/react/avatar';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const root: (props?: ({
|
|
4
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
context?: "
|
|
5
|
+
context?: "oncolor" | "default" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
interface RootProps extends React.ComponentProps<typeof AvatarPrimitive.Root>, VariantProps<typeof root> {
|
|
8
8
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button as ButtonPrimitive } from '@base-ui/react/button';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const button: (props?: ({
|
|
4
|
-
variant?: "primary" | "
|
|
4
|
+
variant?: "primary" | "positive" | "negative" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
5
5
|
size?: "sm" | "md" | "lg" | "hero" | null | undefined;
|
|
6
6
|
chamfer?: boolean | null | undefined;
|
|
7
|
-
radius?: "
|
|
8
|
-
context?: "
|
|
7
|
+
radius?: "none" | "round" | "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
context?: "oncolor" | "default" | null | undefined;
|
|
9
9
|
justify?: "center" | "spread" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
interface Props extends VariantProps<typeof button>, React.ComponentProps<typeof ButtonPrimitive> {
|
|
@@ -13,6 +13,12 @@ interface Props extends VariantProps<typeof button>, React.ComponentProps<typeof
|
|
|
13
13
|
startIcon?: React.ReactNode;
|
|
14
14
|
/** Trailing slot, typically an icon. */
|
|
15
15
|
endIcon?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Key hint shown in the top corner at the end of the line, such as `"S"` or `"Ctrl Z"`. It also sets
|
|
18
|
+
* `aria-keyshortcuts` in its notation (`Control+Z`), which an explicit
|
|
19
|
+
* `aria-keyshortcuts` prop overrides. Display only: bind the key in the app, for example with `useHotkey` from TanStack Hotkeys.
|
|
20
|
+
*/
|
|
21
|
+
shortcut?: string;
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* Button
|
|
@@ -22,5 +28,5 @@ interface Props extends VariantProps<typeof button>, React.ComponentProps<typeof
|
|
|
22
28
|
*/
|
|
23
29
|
export declare function Button({ variant, size,
|
|
24
30
|
/** Explicit saturated-surface context; this is never inferred from an ancestor. */
|
|
25
|
-
context, chamfer, radius, justify, startIcon, endIcon, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
context, chamfer, radius, justify, startIcon, endIcon, shortcut, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
26
32
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const root: (props?: ({
|
|
3
3
|
density?: "compact" | "comfortable" | "spacious" | null | undefined;
|
|
4
|
-
variant?: "
|
|
5
|
-
shadow?: "
|
|
6
|
-
radius?: "
|
|
4
|
+
variant?: "main" | "support" | "minor" | "brand" | "primary" | null | undefined;
|
|
5
|
+
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
radius?: "brand" | "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
9
|
type RootProps = React.ComponentProps<"div"> & VariantProps<typeof root> & {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* avoids cross-component imports between Chip and its siblings.
|
|
5
5
|
*/
|
|
6
6
|
export declare const chip: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "main" | "support" | "minor" | "brand" | "primary" | "positive" | "negative" | "warning" | "info" | "accent-1" | "accent-2" | "accent-3" | null | undefined;
|
|
8
8
|
appearance?: "outline" | "solid" | "subtle" | null | undefined;
|
|
9
9
|
inline?: boolean | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -3,7 +3,7 @@ import { IconComponent } from './types';
|
|
|
3
3
|
export declare const ICON_VARIANTS: readonly ["inherit", "main", "support", "minor", "brand", "primary", "positive", "negative", "warning", "info", "oncolor", "accent-1", "accent-2", "accent-3"];
|
|
4
4
|
export type IconVariant = (typeof ICON_VARIANTS)[number];
|
|
5
5
|
declare const icon: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "inherit" | "main" | "support" | "minor" | "brand" | "primary" | "positive" | "negative" | "warning" | "info" | "oncolor" | "accent-1" | "accent-2" | "accent-3" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type Props = Omit<React.ComponentProps<IconComponent>, "color"> & VariantProps<typeof icon> & {
|
|
9
9
|
/** Icon component imported from `@imfusion/web-ui/icons`. */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turns a displayed shortcut such as `"Ctrl Shift Z"` into the `aria-keyshortcuts` form `"Control+Shift+Z"`, which joins
|
|
3
|
+
* the keys of one combination with `+` and reserves spaces for alternatives.
|
|
4
|
+
*/
|
|
5
|
+
export declare function toAriaKeyShortcuts(shortcut: string): string | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
declare const kbd: (props?: ({
|
|
3
|
+
variant?: "primary" | "flat" | "default" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
interface Props extends React.ComponentProps<"kbd">, VariantProps<typeof kbd> {
|
|
6
|
+
/** Show a keyboard glyph before the key, to mark it as a shortcut in running text. @default false */
|
|
7
|
+
icon?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Kbd — a keyboard key or shortcut, drawn as a keycap tinted from the surrounding text. A combination such as `Ctrl Z` goes
|
|
11
|
+
* in one Kbd. `flat` drops the side face for a hint inside a control.
|
|
12
|
+
*/
|
|
13
|
+
export declare function Kbd({ variant, icon, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const logo: (props?: ({
|
|
4
4
|
size?: "sm" | "md" | "lg" | "hero" | "xl" | "xs" | "fit" | null | undefined;
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "inherit" | "main" | "support" | "minor" | "brand" | "oncolor" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
type Props = Omit<React.ComponentProps<"span">, "children"> & VariantProps<typeof logo> & {
|
|
8
8
|
/** Logo source — an image URL or inline SVG node. No brand default; see `ImFusionLogo` for the ImFusion mark. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const popoverTrigger: (props?: ({
|
|
4
|
-
variant?: "primary" | "
|
|
4
|
+
variant?: "primary" | "positive" | "negative" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
5
5
|
inline?: boolean | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare const popoverPopup: (props?: ({
|
|
8
|
-
variant?: "primary" | "
|
|
8
|
+
variant?: "primary" | "positive" | "negative" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
export declare const createHandle: typeof PopoverPrimitive.createHandle;
|
|
11
11
|
type RootProps<Payload = unknown> = React.ComponentProps<typeof PopoverPrimitive.Root<Payload>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const row: (props?: ({
|
|
3
3
|
gap?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | null | undefined;
|
|
4
|
-
align?: "
|
|
5
|
-
justify?: "
|
|
4
|
+
align?: "end" | "center" | "start" | "stretch" | null | undefined;
|
|
5
|
+
justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
6
6
|
wrap?: boolean | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type Props = React.ComponentProps<"div"> & VariantProps<typeof row> & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const stack: (props?: ({
|
|
3
3
|
gap?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | null | undefined;
|
|
4
|
-
align?: "
|
|
5
|
-
justify?: "
|
|
4
|
+
align?: "end" | "center" | "start" | "stretch" | null | undefined;
|
|
5
|
+
justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
type Props = React.ComponentProps<"div"> & VariantProps<typeof stack>;
|
|
8
8
|
/**
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
2
|
interface Props extends React.ComponentProps<typeof TogglePrimitive> {
|
|
3
|
+
/**
|
|
4
|
+
* Key hint shown in the top corner at the end of the line, such as `"P"` or `"Ctrl Z"`. It also sets
|
|
5
|
+
* `aria-keyshortcuts` in its notation (`Control+Z`), which an explicit
|
|
6
|
+
* `aria-keyshortcuts` prop overrides. Display only: bind the key in the app, for example with `useHotkey` from TanStack Hotkeys.
|
|
7
|
+
*/
|
|
8
|
+
shortcut?: string;
|
|
3
9
|
}
|
|
4
10
|
/**
|
|
5
11
|
* Toggle - a two-state button. Use standalone for a
|
|
@@ -9,5 +15,5 @@ interface Props extends React.ComponentProps<typeof TogglePrimitive> {
|
|
|
9
15
|
* @doc https://base-ui.com/react/components/toggle
|
|
10
16
|
* @llm https://base-ui.com/react/components/toggle.md
|
|
11
17
|
*/
|
|
12
|
-
export declare function Toggle({ style, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function Toggle({ style, shortcut, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
19
|
export {};
|
|
@@ -2,11 +2,11 @@ import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
type UpstreamTrigger = React.ComponentProps<typeof TooltipPrimitive.Trigger>;
|
|
4
4
|
declare const tooltipTrigger: (props?: ({
|
|
5
|
-
variant?: "primary" | "
|
|
5
|
+
variant?: "primary" | "positive" | "negative" | "secondary" | null | undefined;
|
|
6
6
|
inline?: boolean | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const tooltipPopup: (props?: ({
|
|
9
|
-
variant?: "primary" | "
|
|
9
|
+
variant?: "primary" | "positive" | "negative" | "secondary" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
export declare const createHandle: typeof TooltipPrimitive.createHandle;
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { Code } from '../code';
|
|
4
4
|
declare const typo: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "main" | "support" | "minor" | "brand" | "primary" | "positive" | "negative" | "warning" | "info" | "oncolor" | "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
8
|
type WeightProps = {
|
|
@@ -5759,6 +5759,13 @@ export declare const ICON_CATALOG: readonly [{
|
|
|
5759
5759
|
readonly style: "regular";
|
|
5760
5760
|
readonly origin: "iconoir";
|
|
5761
5761
|
readonly file: "regular/key-xmark.svg";
|
|
5762
|
+
}, {
|
|
5763
|
+
readonly name: "Keyboard";
|
|
5764
|
+
readonly category: "System";
|
|
5765
|
+
readonly tags: readonly ["keyboard", "shortcut", "key", "hotkey", "input"];
|
|
5766
|
+
readonly style: "regular";
|
|
5767
|
+
readonly origin: "imfusion";
|
|
5768
|
+
readonly file: "regular/keyboard.svg";
|
|
5762
5769
|
}, {
|
|
5763
5770
|
readonly name: "Keyframe";
|
|
5764
5771
|
readonly category: "Animations";
|
|
@@ -817,6 +817,7 @@ export declare const JpgFormat: import('.').IconComponent;
|
|
|
817
817
|
export declare const KanbanBoard: import('.').IconComponent;
|
|
818
818
|
export declare const Key: import('.').IconComponent;
|
|
819
819
|
export declare const KeyBack: import('.').IconComponent;
|
|
820
|
+
export declare const Keyboard: import('.').IconComponent;
|
|
820
821
|
export declare const KeyCommand: import('.').IconComponent;
|
|
821
822
|
export declare const Keyframe: import('.').IconComponent;
|
|
822
823
|
export declare const KeyframeAlignCenter: import('.').IconComponent;
|