@agimon-ai/doompi-web-components 0.0.1-alpha.4 → 0.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/components/Accordion.d.cts +4 -4
- package/dist/components/Accordion.d.cts.map +1 -1
- package/dist/components/Avatar.d.cts +3 -3
- package/dist/components/Avatar.d.cts.map +1 -1
- package/dist/components/Badge.d.cts +1 -1
- package/dist/components/Badge.d.cts.map +1 -1
- package/dist/components/Breadcrumb.d.cts +1 -1
- package/dist/components/Breadcrumb.d.cts.map +1 -1
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.cts.map +1 -1
- package/dist/components/Checkbox.d.cts +1 -1
- package/dist/components/Checkbox.d.cts.map +1 -1
- package/dist/components/CodeEditor.d.cts +1 -1
- package/dist/components/CodeEditor.d.cts.map +1 -1
- package/dist/components/Collapsible.d.cts +3 -3
- package/dist/components/Collapsible.d.cts.map +1 -1
- package/dist/components/Command.d.cts +10 -10
- package/dist/components/Command.d.cts.map +1 -1
- package/dist/components/Dialog.d.cts +9 -9
- package/dist/components/Dialog.d.cts.map +1 -1
- package/dist/components/Dot.d.cts +1 -1
- package/dist/components/Dot.d.cts.map +1 -1
- package/dist/components/DropdownMenu.d.cts +14 -14
- package/dist/components/DropdownMenu.d.cts.map +1 -1
- package/dist/components/EmptyState.d.cts +1 -1
- package/dist/components/EmptyState.d.cts.map +1 -1
- package/dist/components/HashlineLines.d.cts +17 -0
- package/dist/components/HashlineLines.d.cts.map +1 -0
- package/dist/components/Input.d.cts +1 -1
- package/dist/components/Input.d.cts.map +1 -1
- package/dist/components/Kbd.d.cts +1 -1
- package/dist/components/Kbd.d.cts.map +1 -1
- package/dist/components/Label.d.cts +1 -1
- package/dist/components/Label.d.cts.map +1 -1
- package/dist/components/Markdown.d.cts +13 -3
- package/dist/components/Markdown.d.cts.map +1 -1
- package/dist/components/MediaPreview.d.cts +1 -1
- package/dist/components/MediaPreview.d.cts.map +1 -1
- package/dist/components/MessageItem.d.cts +4 -4
- package/dist/components/MessageItem.d.cts.map +1 -1
- package/dist/components/MessageLines.d.cts +1 -1
- package/dist/components/MessageLines.d.cts.map +1 -1
- package/dist/components/OptionList.d.cts +3 -3
- package/dist/components/OptionList.d.cts.map +1 -1
- package/dist/components/Panel.d.cts +3 -3
- package/dist/components/Panel.d.cts.map +1 -1
- package/dist/components/Popover.d.cts +7 -7
- package/dist/components/Popover.d.cts.map +1 -1
- package/dist/components/Progress.d.cts +1 -1
- package/dist/components/Progress.d.cts.map +1 -1
- package/dist/components/RadioGroup.d.cts +3 -3
- package/dist/components/RadioGroup.d.cts.map +1 -1
- package/dist/components/ScrollArea.d.cts +2 -2
- package/dist/components/ScrollArea.d.cts.map +1 -1
- package/dist/components/SectionLabel.d.cts +1 -1
- package/dist/components/SectionLabel.d.cts.map +1 -1
- package/dist/components/Select.d.cts +8 -8
- package/dist/components/Select.d.cts.map +1 -1
- package/dist/components/Separator.d.cts +1 -1
- package/dist/components/Separator.d.cts.map +1 -1
- package/dist/components/Sheet.d.cts +36 -0
- package/dist/components/Sheet.d.cts.map +1 -0
- package/dist/components/Skeleton.d.cts +1 -1
- package/dist/components/Skeleton.d.cts.map +1 -1
- package/dist/components/Spinner.d.cts +1 -1
- package/dist/components/Spinner.d.cts.map +1 -1
- package/dist/components/StatusBadge.d.cts +1 -1
- package/dist/components/StatusBadge.d.cts.map +1 -1
- package/dist/components/StreamCursor.d.cts +1 -1
- package/dist/components/StreamCursor.d.cts.map +1 -1
- package/dist/components/Switch.d.cts +1 -1
- package/dist/components/Switch.d.cts.map +1 -1
- package/dist/components/Tabs.d.cts +6 -6
- package/dist/components/Tabs.d.cts.map +1 -1
- package/dist/components/Textarea.d.cts +1 -1
- package/dist/components/Textarea.d.cts.map +1 -1
- package/dist/components/Toast.d.cts +7 -7
- package/dist/components/Toast.d.cts.map +1 -1
- package/dist/components/Tooltip.d.cts +4 -4
- package/dist/components/Tooltip.d.cts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +1 -1
- package/dist/lib/hashlineView.d.cts +61 -0
- package/dist/lib/hashlineView.d.cts.map +1 -0
- package/dist/src/components/Accordion.d.mts +4 -4
- package/dist/src/components/Accordion.d.mts.map +1 -1
- package/dist/src/components/Avatar.d.mts +3 -3
- package/dist/src/components/Avatar.d.mts.map +1 -1
- package/dist/src/components/Badge.d.mts +1 -1
- package/dist/src/components/Badge.d.mts.map +1 -1
- package/dist/src/components/Breadcrumb.d.mts +1 -1
- package/dist/src/components/Breadcrumb.d.mts.map +1 -1
- package/dist/src/components/Button.d.mts +1 -1
- package/dist/src/components/Button.d.mts.map +1 -1
- package/dist/src/components/Checkbox.d.mts +1 -1
- package/dist/src/components/Checkbox.d.mts.map +1 -1
- package/dist/src/components/CodeEditor.d.mts +1 -1
- package/dist/src/components/CodeEditor.d.mts.map +1 -1
- package/dist/src/components/CodeEditorView.cjs +1 -1
- package/dist/src/components/CodeEditorView.cjs.map +1 -1
- package/dist/src/components/CodeEditorView.mjs +1 -1
- package/dist/src/components/CodeEditorView.mjs.map +1 -1
- package/dist/src/components/Collapsible.d.mts +3 -3
- package/dist/src/components/Collapsible.d.mts.map +1 -1
- package/dist/src/components/Command.d.mts +10 -10
- package/dist/src/components/Command.d.mts.map +1 -1
- package/dist/src/components/Dialog.d.mts +9 -9
- package/dist/src/components/Dialog.d.mts.map +1 -1
- package/dist/src/components/Dot.d.mts +1 -1
- package/dist/src/components/Dot.d.mts.map +1 -1
- package/dist/src/components/DropdownMenu.d.mts +14 -14
- package/dist/src/components/DropdownMenu.d.mts.map +1 -1
- package/dist/src/components/EmptyState.d.mts +1 -1
- package/dist/src/components/EmptyState.d.mts.map +1 -1
- package/dist/src/components/HashlineLines.cjs +2 -0
- package/dist/src/components/HashlineLines.cjs.map +1 -0
- package/dist/src/components/HashlineLines.d.mts +17 -0
- package/dist/src/components/HashlineLines.d.mts.map +1 -0
- package/dist/src/components/HashlineLines.mjs +2 -0
- package/dist/src/components/HashlineLines.mjs.map +1 -0
- package/dist/src/components/Input.d.mts +1 -1
- package/dist/src/components/Input.d.mts.map +1 -1
- package/dist/src/components/Kbd.d.mts +1 -1
- package/dist/src/components/Kbd.d.mts.map +1 -1
- package/dist/src/components/Label.d.mts +1 -1
- package/dist/src/components/Label.d.mts.map +1 -1
- package/dist/src/components/Markdown.cjs +2 -1
- package/dist/src/components/Markdown.cjs.map +1 -1
- package/dist/src/components/Markdown.d.mts +13 -3
- package/dist/src/components/Markdown.d.mts.map +1 -1
- package/dist/src/components/Markdown.mjs +2 -1
- package/dist/src/components/Markdown.mjs.map +1 -1
- package/dist/src/components/MediaPreview.cjs +1 -1
- package/dist/src/components/MediaPreview.cjs.map +1 -1
- package/dist/src/components/MediaPreview.d.mts +1 -1
- package/dist/src/components/MediaPreview.d.mts.map +1 -1
- package/dist/src/components/MediaPreview.mjs +1 -1
- package/dist/src/components/MediaPreview.mjs.map +1 -1
- package/dist/src/components/MessageItem.d.mts +4 -4
- package/dist/src/components/MessageItem.d.mts.map +1 -1
- package/dist/src/components/MessageLines.d.mts +1 -1
- package/dist/src/components/MessageLines.d.mts.map +1 -1
- package/dist/src/components/OptionList.d.mts +3 -3
- package/dist/src/components/OptionList.d.mts.map +1 -1
- package/dist/src/components/Panel.d.mts +3 -3
- package/dist/src/components/Panel.d.mts.map +1 -1
- package/dist/src/components/Popover.d.mts +7 -7
- package/dist/src/components/Popover.d.mts.map +1 -1
- package/dist/src/components/Progress.d.mts +1 -1
- package/dist/src/components/Progress.d.mts.map +1 -1
- package/dist/src/components/RadioGroup.d.mts +3 -3
- package/dist/src/components/RadioGroup.d.mts.map +1 -1
- package/dist/src/components/ScrollArea.d.mts +2 -2
- package/dist/src/components/ScrollArea.d.mts.map +1 -1
- package/dist/src/components/SectionLabel.d.mts +1 -1
- package/dist/src/components/SectionLabel.d.mts.map +1 -1
- package/dist/src/components/Select.d.mts +8 -8
- package/dist/src/components/Select.d.mts.map +1 -1
- package/dist/src/components/Separator.d.mts +1 -1
- package/dist/src/components/Separator.d.mts.map +1 -1
- package/dist/src/components/Sheet.cjs +2 -0
- package/dist/src/components/Sheet.cjs.map +1 -0
- package/dist/src/components/Sheet.d.mts +36 -0
- package/dist/src/components/Sheet.d.mts.map +1 -0
- package/dist/src/components/Sheet.mjs +2 -0
- package/dist/src/components/Sheet.mjs.map +1 -0
- package/dist/src/components/Skeleton.d.mts +1 -1
- package/dist/src/components/Skeleton.d.mts.map +1 -1
- package/dist/src/components/Spinner.cjs +1 -1
- package/dist/src/components/Spinner.cjs.map +1 -1
- package/dist/src/components/Spinner.d.mts +1 -1
- package/dist/src/components/Spinner.d.mts.map +1 -1
- package/dist/src/components/Spinner.mjs +1 -1
- package/dist/src/components/Spinner.mjs.map +1 -1
- package/dist/src/components/StatusBadge.d.mts +1 -1
- package/dist/src/components/StatusBadge.d.mts.map +1 -1
- package/dist/src/components/StreamCursor.d.mts +1 -1
- package/dist/src/components/StreamCursor.d.mts.map +1 -1
- package/dist/src/components/Switch.d.mts +1 -1
- package/dist/src/components/Switch.d.mts.map +1 -1
- package/dist/src/components/Tabs.d.mts +6 -6
- package/dist/src/components/Tabs.d.mts.map +1 -1
- package/dist/src/components/Textarea.d.mts +1 -1
- package/dist/src/components/Textarea.d.mts.map +1 -1
- package/dist/src/components/Toast.d.mts +7 -7
- package/dist/src/components/Toast.d.mts.map +1 -1
- package/dist/src/components/Tooltip.d.mts +4 -4
- package/dist/src/components/Tooltip.d.mts.map +1 -1
- package/dist/src/lib/hashlineView.cjs +6 -0
- package/dist/src/lib/hashlineView.cjs.map +1 -0
- package/dist/src/lib/hashlineView.d.mts +61 -0
- package/dist/src/lib/hashlineView.d.mts.map +1 -0
- package/dist/src/lib/hashlineView.mjs +6 -0
- package/dist/src/lib/hashlineView.mjs.map +1 -0
- package/package.json +6 -6
- package/styles/tokens.css +22 -0
package/README.md
CHANGED
|
@@ -11,12 +11,12 @@ Because every colour is a token, a theme config recolours the whole cockpit at r
|
|
|
11
11
|
|
|
12
12
|
## What it ships
|
|
13
13
|
|
|
14
|
-
| Export | Components
|
|
15
|
-
| ----------------- |
|
|
16
|
-
| `.` | Actions and chips: `Button`, `Badge`, `StatusBadge`, `Dot`, `Kbd`, `NavTab*`, `Tabs*`. Fields: `Input`, `Textarea`, `Label`, `Checkbox`, `Switch`, `RadioGroup*`, `Select*`. Overlays: `Dialog*`, `Popover*`, `DropdownMenu*`, `Tooltip*`, `Toast*`, `Command*`. Layout and content: `Panel*`, `SectionLabel`, `Separator`, `EmptyState`, `ScrollArea`, `Collapsible*`, `Accordion*`, `OptionList`, `OptionRow`, `MessageItem*`, `MessageLines`. Feedback: `Spinner`, `Progress`, `Skeleton`, `Avatar*`, `StreamCursor`. Files: `CodeEditor`, `MediaPreview`. Plus the curated icon set, `cn`, `collapseLines`, `grammarKeyOf`, `mediaKindOf`, the option-list key helpers, and the tone vocabularies with the maps between them |
|
|
17
|
-
| `./theme` | `ThemeConfig`, the token lists, `BUILTIN_THEMES`, `applyTheme`, `parseThemeConfig`, `themeFromPiTheme`, the stored-preference helpers
|
|
18
|
-
| `./styles.css` | The token stylesheet: `:root` defaults, the Tailwind `@theme inline` mapping, shadcn semantic aliases, base styles, and the `@source` for this package's classes
|
|
19
|
-
| `./themes/*.json` | The shipped theme configs: `doom-one-dark` (default), `doom-one-light`, `doom-nord-dark`
|
|
14
|
+
| Export | Components |
|
|
15
|
+
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
16
|
+
| `.` | Actions and chips: `Button`, `Badge`, `StatusBadge`, `Dot`, `Kbd`, `NavTab*`, `Tabs*`. Fields: `Input`, `Textarea`, `Label`, `Checkbox`, `Switch`, `RadioGroup*`, `Select*`. Overlays: `Dialog*`, `Sheet*`, `Popover*`, `DropdownMenu*`, `Tooltip*`, `Toast*`, `Command*`. Layout and content: `Panel*`, `SectionLabel`, `Separator`, `EmptyState`, `ScrollArea`, `Collapsible*`, `Accordion*`, `OptionList`, `OptionRow`, `MessageItem*`, `MessageLines`. Feedback: `Spinner`, `Progress`, `Skeleton`, `Avatar*`, `StreamCursor`. Files: `CodeEditor`, `MediaPreview`. Plus the curated icon set, `cn`, `collapseLines`, `grammarKeyOf`, `mediaKindOf`, the option-list key helpers, and the tone vocabularies with the maps between them |
|
|
17
|
+
| `./theme` | `ThemeConfig`, the token lists, `BUILTIN_THEMES`, `applyTheme`, `parseThemeConfig`, `themeFromPiTheme`, the stored-preference helpers |
|
|
18
|
+
| `./styles.css` | The token stylesheet: `:root` defaults, the Tailwind `@theme inline` mapping, shadcn semantic aliases, base styles, and the `@source` for this package's classes |
|
|
19
|
+
| `./themes/*.json` | The shipped theme configs: `doom-one-dark` (default), `doom-one-light`, `doom-nord-dark` |
|
|
20
20
|
|
|
21
21
|
## Using it from the cockpit host
|
|
22
22
|
|
|
@@ -2,10 +2,10 @@ import { Accordion } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Accordion.d.ts
|
|
4
4
|
/** Several collapsibles that know about each other; pass type="single" for one open at a time. */
|
|
5
|
-
declare function Accordion$1(props: ComponentProps<typeof Accordion.Root>): import("react
|
|
6
|
-
declare function AccordionItem({ className, ...props }: ComponentProps<typeof Accordion.Item>): import("react
|
|
7
|
-
declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof Accordion.Trigger>): import("react
|
|
8
|
-
declare function AccordionContent({ className, ...props }: ComponentProps<typeof Accordion.Content>): import("react
|
|
5
|
+
declare function Accordion$1(props: ComponentProps<typeof Accordion.Root>): import("react").JSX.Element;
|
|
6
|
+
declare function AccordionItem({ className, ...props }: ComponentProps<typeof Accordion.Item>): import("react").JSX.Element;
|
|
7
|
+
declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof Accordion.Trigger>): import("react").JSX.Element;
|
|
8
|
+
declare function AccordionContent({ className, ...props }: ComponentProps<typeof Accordion.Content>): import("react").JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Accordion$1 as Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
11
11
|
//# sourceMappingURL=Accordion.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.cts","names":[],"sources":["../../src/components/Accordion.tsx"],"mappings":";;;;iBAMgB,YAAU,OAAO,sBAAsB,UAAmB,
|
|
1
|
+
{"version":3,"file":"Accordion.d.cts","names":[],"sources":["../../src/components/Accordion.tsx"],"mappings":";;;;iBAMgB,YAAU,OAAO,sBAAsB,UAAmB,wBAAK,IAAA;iBAI/D,gBAAgB,cAAc,SAAS,sBAAsB,UAAmB,wBAAK,IAAA;iBAUrF,mBAAmB,WAAW,aAAa,SAAS,sBAAsB,UAAmB,2BAAQ,IAAA;iBAkBrG,mBAAmB,cAAc,SAAS,sBAAsB,UAAmB,2BAAQ,IAAA"}
|
|
@@ -2,9 +2,9 @@ import { Avatar } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Avatar.d.ts
|
|
4
4
|
/** A face or an initial; Radix only shows the fallback once the image has actually failed. */
|
|
5
|
-
declare function Avatar$1({ className, ...props }: ComponentProps<typeof Avatar.Root>): import("react
|
|
6
|
-
declare function AvatarImage({ className, ...props }: ComponentProps<typeof Avatar.Image>): import("react
|
|
7
|
-
declare function AvatarFallback({ className, ...props }: ComponentProps<typeof Avatar.Fallback>): import("react
|
|
5
|
+
declare function Avatar$1({ className, ...props }: ComponentProps<typeof Avatar.Root>): import("react").JSX.Element;
|
|
6
|
+
declare function AvatarImage({ className, ...props }: ComponentProps<typeof Avatar.Image>): import("react").JSX.Element;
|
|
7
|
+
declare function AvatarFallback({ className, ...props }: ComponentProps<typeof Avatar.Fallback>): import("react").JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Avatar$1 as Avatar, AvatarFallback, AvatarImage };
|
|
10
10
|
//# sourceMappingURL=Avatar.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.cts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;iBAKgB,WAAS,cAAc,SAAS,sBAAsB,OAAgB,
|
|
1
|
+
{"version":3,"file":"Avatar.d.cts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;iBAKgB,WAAS,cAAc,SAAS,sBAAsB,OAAgB,wBAAK,IAAA;iBAU3E,cAAc,cAAc,SAAS,sBAAsB,OAAgB,yBAAM,IAAA;iBAUjF,iBAAiB,cAAc,SAAS,sBAAsB,OAAgB,4BAAS,IAAA"}
|
|
@@ -12,7 +12,7 @@ interface BadgeProps extends ComponentProps<'span'>, VariantProps<typeof badgeVa
|
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
}
|
|
14
14
|
/** An outlined chip in one of the accent tones; the Chip the cockpit mockup draws. */
|
|
15
|
-
declare function Badge({ className, tone, size, asChild, ...props }: BadgeProps): import("react
|
|
15
|
+
declare function Badge({ className, tone, size, asChild, ...props }: BadgeProps): import("react").JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Badge, BadgeProps, BadgeTone, badgeVariants };
|
|
18
18
|
//# sourceMappingURL=Badge.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.cts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;cAMa,gBAAa;;;6CAuBxB;KAEU,YAAY;UAEP,mBAAmB,wBAAwB,oBAAoB;;EAE9E;;;iBAIc,QAAQ,WAAW,MAAM,MAAM,YAAoB,SAAS,
|
|
1
|
+
{"version":3,"file":"Badge.d.cts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;cAMa,gBAAa;;;6CAuBxB;KAEU,YAAY;UAEP,mBAAmB,wBAAwB,oBAAoB;;EAE9E;;;iBAIc,QAAQ,WAAW,MAAM,MAAM,YAAoB,SAAS,6BAAU,IAAA"}
|
|
@@ -31,7 +31,7 @@ interface BreadcrumbProps {
|
|
|
31
31
|
* The leaf carries the emphasis. A reader scanning a header is looking for the
|
|
32
32
|
* file, and the directories are context for it.
|
|
33
33
|
*/
|
|
34
|
-
declare function Breadcrumb({ path, keep, className, 'data-testid': testId }: BreadcrumbProps): import("react
|
|
34
|
+
declare function Breadcrumb({ path, keep, className, 'data-testid': testId }: BreadcrumbProps): import("react").JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { BREADCRUMB_ELLIPSIS, Breadcrumb, BreadcrumbProps, breadcrumbSegments };
|
|
37
37
|
//# sourceMappingURL=Breadcrumb.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.d.cts","names":[],"sources":["../../src/components/Breadcrumb.tsx"],"mappings":";;cAIa;;;;;;;;;iBAUG,mBAAmB,cAAc;UAQhC;;EAEf;;EAEA;;EAEA;EACA;;;;;;;;;;;;;;iBAec,aAAa,MAAM,MAAM,0BAA0B,UAAU,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.cts","names":[],"sources":["../../src/components/Breadcrumb.tsx"],"mappings":";;cAIa;;;;;;;;;iBAUG,mBAAmB,cAAc;UAQhC;;EAEf;;EAEA;;EAEA;EACA;;;;;;;;;;;;;;iBAec,aAAa,MAAM,MAAM,0BAA0B,UAAU,kCAAe,IAAA"}
|
|
@@ -19,7 +19,7 @@ interface ButtonProps extends ComponentProps<'button'>, VariantProps<typeof butt
|
|
|
19
19
|
loadingLabel?: string;
|
|
20
20
|
}
|
|
21
21
|
/** The one button: every variant is a theme token, so it recolours with the theme. */
|
|
22
|
-
declare function Button({ className, variant, size, asChild, loading, loadingLabel, disabled, type, children, ...props }: ButtonProps): import("react
|
|
22
|
+
declare function Button({ className, variant, size, asChild, loading, loadingLabel, disabled, type, children, ...props }: ButtonProps): import("react").JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Button, ButtonProps, ButtonSize, ButtonVariant, buttonVariants };
|
|
25
25
|
//# sourceMappingURL=Button.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.cts","names":[],"sources":["../../src/components/Button.tsx"],"mappings":";;;cAMa,iBAAc;;;6CAgC1B;KAEW,gBAAgB,YAAY,oBAAoB;KAChD,aAAa,YAAY,oBAAoB;UAExC,oBAAoB,0BAA0B,oBAAoB;;EAEjF;;;;;EAKA;;EAEA;;;iBAIc,SACd,WACA,SACA,MACA,SACA,SACA,cACA,UACA,MACA,aACG,SACF,
|
|
1
|
+
{"version":3,"file":"Button.d.cts","names":[],"sources":["../../src/components/Button.tsx"],"mappings":";;;cAMa,iBAAc;;;6CAgC1B;KAEW,gBAAgB,YAAY,oBAAoB;KAChD,aAAa,YAAY,oBAAoB;UAExC,oBAAoB,0BAA0B,oBAAoB;;EAEjF;;;;;EAKA;;EAEA;;;iBAIc,SACd,WACA,SACA,MACA,SACA,SACA,cACA,UACA,MACA,aACG,SACF,8BAAW,IAAA"}
|
|
@@ -2,7 +2,7 @@ import { Checkbox } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Checkbox.d.ts
|
|
4
4
|
/** A box that is on, off, or indeterminate; the tick is the accent on the deep well. */
|
|
5
|
-
declare function Checkbox$1({ className, ...props }: ComponentProps<typeof Checkbox.Root>): import("react
|
|
5
|
+
declare function Checkbox$1({ className, ...props }: ComponentProps<typeof Checkbox.Root>): import("react").JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Checkbox$1 as Checkbox };
|
|
8
8
|
//# sourceMappingURL=Checkbox.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.cts","names":[],"sources":["../../src/components/Checkbox.tsx"],"mappings":";;;;iBAMgB,aAAW,cAAc,SAAS,sBAAsB,SAAkB,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.cts","names":[],"sources":["../../src/components/Checkbox.tsx"],"mappings":";;;;iBAMgB,aAAW,cAAc,SAAS,sBAAsB,SAAkB,wBAAK,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CodeEditorProps } from "../types/editor.cjs";
|
|
2
2
|
//#region src/components/CodeEditor.d.ts
|
|
3
|
-
declare function CodeEditor({ className, ...props }: CodeEditorProps): import("react
|
|
3
|
+
declare function CodeEditor({ className, ...props }: CodeEditorProps): import("react").JSX.Element;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { CodeEditor };
|
|
6
6
|
//# sourceMappingURL=CodeEditor.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeEditor.d.cts","names":[],"sources":["../../src/components/CodeEditor.tsx"],"mappings":";;iBAiBgB,aAAa,cAAc,SAAS,
|
|
1
|
+
{"version":3,"file":"CodeEditor.d.cts","names":[],"sources":["../../src/components/CodeEditor.tsx"],"mappings":";;iBAiBgB,aAAa,cAAc,SAAS,kCAAe,IAAA"}
|
|
@@ -2,9 +2,9 @@ import { Collapsible } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Collapsible.d.ts
|
|
4
4
|
/** A section that folds; Radix keeps the trigger's aria-expanded in step with the content. */
|
|
5
|
-
declare function Collapsible$1(props: ComponentProps<typeof Collapsible.Root>): import("react
|
|
6
|
-
declare function CollapsibleTrigger(props: ComponentProps<typeof Collapsible.CollapsibleTrigger>): import("react
|
|
7
|
-
declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof Collapsible.CollapsibleContent>): import("react
|
|
5
|
+
declare function Collapsible$1(props: ComponentProps<typeof Collapsible.Root>): import("react").JSX.Element;
|
|
6
|
+
declare function CollapsibleTrigger(props: ComponentProps<typeof Collapsible.CollapsibleTrigger>): import("react").JSX.Element;
|
|
7
|
+
declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof Collapsible.CollapsibleContent>): import("react").JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Collapsible$1 as Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
10
10
|
//# sourceMappingURL=Collapsible.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.d.cts","names":[],"sources":["../../src/components/Collapsible.tsx"],"mappings":";;;;iBAKgB,cAAY,OAAO,sBAAsB,YAAqB,
|
|
1
|
+
{"version":3,"file":"Collapsible.d.cts","names":[],"sources":["../../src/components/Collapsible.tsx"],"mappings":";;;;iBAKgB,cAAY,OAAO,sBAAsB,YAAqB,wBAAK,IAAA;iBAInE,mBAAmB,OAAO,sBAAsB,YAAqB,sCAAmB,IAAA;iBAIxF,qBACd,cACG,SACF,sBAAsB,YAAqB,sCAAmB,IAAA"}
|
|
@@ -19,24 +19,24 @@ interface CommandDialogProps extends Omit<DialogContentProps, 'title'> {
|
|
|
19
19
|
title: ReactNode;
|
|
20
20
|
titleVisible?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare function CommandDialog({ open, onOpenChange, title, titleVisible, className, children, width, ...props }: CommandDialogProps): import("react
|
|
22
|
+
declare function CommandDialog({ open, onOpenChange, title, titleVisible, className, children, width, ...props }: CommandDialogProps): import("react").JSX.Element;
|
|
23
23
|
/** The strip the search field sits in. */
|
|
24
|
-
declare function CommandHeader({ className, ...props }: ComponentProps<'div'>): import("react
|
|
24
|
+
declare function CommandHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
25
25
|
/** The search field: bare, because the header already draws the surface. */
|
|
26
|
-
declare function CommandInput({ className, ...props }: InputProps): import("react
|
|
26
|
+
declare function CommandInput({ className, ...props }: InputProps): import("react").JSX.Element;
|
|
27
27
|
/** The scrolling body. It is the listbox, so its rows are the options. */
|
|
28
|
-
declare function CommandList({ className, ...props }: ComponentProps<'div'>): import("react
|
|
28
|
+
declare function CommandList({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
29
29
|
/** A labelled run of rows. */
|
|
30
|
-
declare function CommandGroup({ className, ...props }: ComponentProps<'div'>): import("react
|
|
31
|
-
declare function CommandGroupLabel({ className, ...props }: ComponentProps<'div'>): import("react
|
|
30
|
+
declare function CommandGroup({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
31
|
+
declare function CommandGroupLabel({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
32
32
|
/** One command. Compact by default, since a palette shows many at once. */
|
|
33
|
-
declare function CommandItem({ density, ...props }: OptionRowProps): import("react
|
|
33
|
+
declare function CommandItem({ density, ...props }: OptionRowProps): import("react").JSX.Element;
|
|
34
34
|
/** A command's name, taking the width the row has left. */
|
|
35
|
-
declare function CommandItemLabel(props: ComponentProps<'span'>): import("react
|
|
35
|
+
declare function CommandItemLabel(props: ComponentProps<'span'>): import("react").JSX.Element;
|
|
36
36
|
/** What the palette says when nothing matches. */
|
|
37
|
-
declare function CommandEmpty({ className, ...props }: ComponentProps<'div'>): import("react
|
|
37
|
+
declare function CommandEmpty({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
38
38
|
/** The hint strip along the bottom: what the keys do. */
|
|
39
|
-
declare function CommandFooter({ className, ...props }: ComponentProps<'div'>): import("react
|
|
39
|
+
declare function CommandFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { CommandDialog, CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandHeader, CommandInput, CommandItem, CommandItemLabel, CommandList };
|
|
42
42
|
//# sourceMappingURL=Command.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.cts","names":[],"sources":["../../src/components/Command.tsx"],"mappings":";;;;;;;;;;;;;;UAgBiB,2BAA2B,KAAK;EAC/C;EACA,eAAe;;EAEf,OAAO;EACP;;iBAGc,gBACd,MACA,cACA,OACA,cACA,WACA,UACA,UACG,SACF,
|
|
1
|
+
{"version":3,"file":"Command.d.cts","names":[],"sources":["../../src/components/Command.tsx"],"mappings":";;;;;;;;;;;;;;UAgBiB,2BAA2B,KAAK;EAC/C;EACA,eAAe;;EAEf,OAAO;EACP;;iBAGc,gBACd,MACA,cACA,OACA,cACA,WACA,UACA,UACG,SACF,qCAAkB,IAAA;;iBAYL,gBAAgB,cAAc,SAAS,wCAAqB,IAAA;;iBAW5D,eAAe,cAAc,SAAS,6BAAU,IAAA;;iBAchD,cAAc,cAAc,SAAS,wCAAqB,IAAA;;iBAY1D,eAAe,cAAc,SAAS,wCAAqB,IAAA;iBAI3D,oBAAoB,cAAc,SAAS,wCAAqB,IAAA;;iBAWhE,cAAc,YAAwB,SAAS,iCAAc,IAAA;;iBAK7D,iBAAiB,OAAO,yCAAsB,IAAA;;iBAK9C,eAAe,cAAc,SAAS,wCAAqB,IAAA;;iBAW3D,gBAAgB,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -6,14 +6,14 @@ import { VariantProps } from "class-variance-authority";
|
|
|
6
6
|
* shadcn's Dialog on Radix: focus trap, Escape, outside click, scroll lock,
|
|
7
7
|
* and focus restored to the trigger on close. The frame is the Doom panel.
|
|
8
8
|
*/
|
|
9
|
-
declare function Dialog$1(props: ComponentProps<typeof Dialog.Root>): import("react
|
|
10
|
-
declare function DialogTrigger(props: ComponentProps<typeof Dialog.Trigger>): import("react
|
|
11
|
-
declare function DialogClose(props: ComponentProps<typeof Dialog.Close>): import("react
|
|
9
|
+
declare function Dialog$1(props: ComponentProps<typeof Dialog.Root>): import("react").JSX.Element;
|
|
10
|
+
declare function DialogTrigger(props: ComponentProps<typeof Dialog.Trigger>): import("react").JSX.Element;
|
|
11
|
+
declare function DialogClose(props: ComponentProps<typeof Dialog.Close>): import("react").JSX.Element;
|
|
12
12
|
interface DialogContentProps extends ComponentProps<typeof Dialog.Content> {
|
|
13
13
|
/** Width preset; `className` may still override. */
|
|
14
14
|
width?: 'sm' | 'md' | 'lg';
|
|
15
15
|
}
|
|
16
|
-
declare function DialogContent({ className, children, width, ...props }: DialogContentProps): import("react
|
|
16
|
+
declare function DialogContent({ className, children, width, ...props }: DialogContentProps): import("react").JSX.Element;
|
|
17
17
|
interface DialogHeaderProps extends ComponentProps<'div'> {
|
|
18
18
|
/**
|
|
19
19
|
* Show the close control at the right of the strip. Off by default: most
|
|
@@ -25,15 +25,15 @@ interface DialogHeaderProps extends ComponentProps<'div'> {
|
|
|
25
25
|
/** What the close control announces. */
|
|
26
26
|
closeLabel?: string;
|
|
27
27
|
}
|
|
28
|
-
declare function DialogHeader({ className, dismissible, closeLabel, children, ...props }: DialogHeaderProps): import("react
|
|
29
|
-
declare function DialogTitle({ className, ...props }: ComponentProps<typeof Dialog.Title>): import("react
|
|
30
|
-
declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog.Description>): import("react
|
|
31
|
-
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
28
|
+
declare function DialogHeader({ className, dismissible, closeLabel, children, ...props }: DialogHeaderProps): import("react").JSX.Element;
|
|
29
|
+
declare function DialogTitle({ className, ...props }: ComponentProps<typeof Dialog.Title>): import("react").JSX.Element;
|
|
30
|
+
declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog.Description>): import("react").JSX.Element;
|
|
31
|
+
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
32
32
|
declare const dialogFooterVariants: (props?: ({
|
|
33
33
|
variant?: "bar" | "plain" | null | undefined;
|
|
34
34
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
35
35
|
interface DialogFooterProps extends ComponentProps<'div'>, VariantProps<typeof dialogFooterVariants> {}
|
|
36
|
-
declare function DialogFooter({ className, variant, ...props }: DialogFooterProps): import("react
|
|
36
|
+
declare function DialogFooter({ className, variant, ...props }: DialogFooterProps): import("react").JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Dialog$1 as Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogTitle, DialogTrigger, dialogFooterVariants };
|
|
39
39
|
//# sourceMappingURL=Dialog.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.cts","names":[],"sources":["../../src/components/Dialog.tsx"],"mappings":";;;;;;;;iBAWgB,SAAO,OAAO,sBAAsB,OAAgB,
|
|
1
|
+
{"version":3,"file":"Dialog.d.cts","names":[],"sources":["../../src/components/Dialog.tsx"],"mappings":";;;;;;;;iBAWgB,SAAO,OAAO,sBAAsB,OAAgB,wBAAK,IAAA;iBAIzD,cAAc,OAAO,sBAAsB,OAAgB,2BAAQ,IAAA;iBAQnE,YAAY,OAAO,sBAAsB,OAAgB,yBAAM,IAAA;UAc9D,2BAA2B,sBAAsB,OAAgB;;EAEhF;;iBAKc,gBAAgB,WAAW,UAAU,UAAiB,SAAS,qCAAkB,IAAA;UAmBhF,0BAA0B;;;;;;;EAOzC;;EAEA;;iBAGc,eACd,WACA,aACA,YACA,aACG,SACF,oCAAiB,IAAA;iBAsBJ,cAAc,cAAc,SAAS,sBAAsB,OAAgB,yBAAM,IAAA;iBAUjF,oBAAoB,cAAc,SAAS,sBAAsB,OAAgB,+BAAY,IAAA;iBAU7F,aAAa,cAAc,SAAS,wCAAqB,IAAA;cAU5D,uBAAoB;;6CAc/B;UAEe,0BAA0B,uBAAuB,oBAAoB;iBAEtE,eAAe,WAAW,YAAY,SAAS,oCAAiB,IAAA"}
|
|
@@ -10,7 +10,7 @@ declare const dotVariants: (props?: ({
|
|
|
10
10
|
type DotTone = DotTone$1;
|
|
11
11
|
interface DotProps extends ComponentProps<'span'>, VariantProps<typeof dotVariants> {}
|
|
12
12
|
/** The status dot: a colour and, while something is live, a pulse. */
|
|
13
|
-
declare function Dot({ className, tone, size, pulse, ...props }: DotProps): import("react
|
|
13
|
+
declare function Dot({ className, tone, size, pulse, ...props }: DotProps): import("react").JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Dot, DotProps, DotTone, dotVariants };
|
|
16
16
|
//# sourceMappingURL=Dot.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dot.d.cts","names":[],"sources":["../../src/components/Dot.tsx"],"mappings":";;;;cAKa,cAAW;;;;6CA2BtB;KAEU,UAAU;UAEL,iBAAiB,wBAAwB,oBAAoB;;iBAG9D,MAAM,WAAW,MAAM,MAAM,UAAU,SAAS,
|
|
1
|
+
{"version":3,"file":"Dot.d.cts","names":[],"sources":["../../src/components/Dot.tsx"],"mappings":";;;;cAKa,cAAW;;;;6CA2BtB;KAEU,UAAU;UAEL,iBAAiB,wBAAwB,oBAAoB;;iBAG9D,MAAM,WAAW,MAAM,MAAM,UAAU,SAAS,2BAAQ,IAAA"}
|
|
@@ -3,32 +3,32 @@ import { ComponentProps } from "react";
|
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
//#region src/components/DropdownMenu.d.ts
|
|
5
5
|
/** shadcn's DropdownMenu on Radix: roving focus, typeahead, outside click, Escape. */
|
|
6
|
-
declare function DropdownMenu$1(props: ComponentProps<typeof DropdownMenu.Root>): import("react
|
|
7
|
-
declare function DropdownMenuTrigger(props: ComponentProps<typeof DropdownMenu.Trigger>): import("react
|
|
6
|
+
declare function DropdownMenu$1(props: ComponentProps<typeof DropdownMenu.Root>): import("react").JSX.Element;
|
|
7
|
+
declare function DropdownMenuTrigger(props: ComponentProps<typeof DropdownMenu.Trigger>): import("react").JSX.Element;
|
|
8
8
|
/** A run of items under one label, so the separator between groups is structural. */
|
|
9
|
-
declare function DropdownMenuGroup(props: ComponentProps<typeof DropdownMenu.Group>): import("react
|
|
10
|
-
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: ComponentProps<typeof DropdownMenu.Content>): import("react
|
|
9
|
+
declare function DropdownMenuGroup(props: ComponentProps<typeof DropdownMenu.Group>): import("react").JSX.Element;
|
|
10
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: ComponentProps<typeof DropdownMenu.Content>): import("react").JSX.Element;
|
|
11
11
|
declare const dropdownMenuItemVariants: (props?: ({
|
|
12
12
|
variant?: "default" | "destructive" | null | undefined;
|
|
13
13
|
indented?: boolean | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
15
|
interface DropdownMenuItemProps extends ComponentProps<typeof DropdownMenu.Item>, VariantProps<typeof dropdownMenuItemVariants> {}
|
|
16
|
-
declare function DropdownMenuItem({ className, variant, indented, ...props }: DropdownMenuItemProps): import("react
|
|
16
|
+
declare function DropdownMenuItem({ className, variant, indented, ...props }: DropdownMenuItemProps): import("react").JSX.Element;
|
|
17
17
|
interface DropdownMenuCheckboxItemProps extends ComponentProps<typeof DropdownMenu.CheckboxItem>, VariantProps<typeof dropdownMenuItemVariants> {}
|
|
18
18
|
/** A row that toggles: the check lives in the gutter so the label never shifts. */
|
|
19
|
-
declare function DropdownMenuCheckboxItem({ className, variant, children, ...props }: DropdownMenuCheckboxItemProps): import("react
|
|
19
|
+
declare function DropdownMenuCheckboxItem({ className, variant, children, ...props }: DropdownMenuCheckboxItemProps): import("react").JSX.Element;
|
|
20
20
|
/** The exclusive-choice group; pair it with DropdownMenuRadioItem. */
|
|
21
|
-
declare function DropdownMenuRadioGroup(props: ComponentProps<typeof DropdownMenu.RadioGroup>): import("react
|
|
21
|
+
declare function DropdownMenuRadioGroup(props: ComponentProps<typeof DropdownMenu.RadioGroup>): import("react").JSX.Element;
|
|
22
22
|
interface DropdownMenuRadioItemProps extends ComponentProps<typeof DropdownMenu.RadioItem>, VariantProps<typeof dropdownMenuItemVariants> {}
|
|
23
|
-
declare function DropdownMenuRadioItem({ className, variant, children, ...props }: DropdownMenuRadioItemProps): import("react
|
|
24
|
-
declare function DropdownMenuSub(props: ComponentProps<typeof DropdownMenu.Sub>): import("react
|
|
23
|
+
declare function DropdownMenuRadioItem({ className, variant, children, ...props }: DropdownMenuRadioItemProps): import("react").JSX.Element;
|
|
24
|
+
declare function DropdownMenuSub(props: ComponentProps<typeof DropdownMenu.Sub>): import("react").JSX.Element;
|
|
25
25
|
/** The row that opens a submenu; the chevron is part of the row, not the caller's job. */
|
|
26
|
-
declare function DropdownMenuSubTrigger({ className, children, ...props }: ComponentProps<typeof DropdownMenu.SubTrigger>): import("react
|
|
27
|
-
declare function DropdownMenuSubContent({ className, sideOffset, ...props }: ComponentProps<typeof DropdownMenu.SubContent>): import("react
|
|
28
|
-
declare function DropdownMenuLabel({ className, ...props }: ComponentProps<typeof DropdownMenu.Label>): import("react
|
|
26
|
+
declare function DropdownMenuSubTrigger({ className, children, ...props }: ComponentProps<typeof DropdownMenu.SubTrigger>): import("react").JSX.Element;
|
|
27
|
+
declare function DropdownMenuSubContent({ className, sideOffset, ...props }: ComponentProps<typeof DropdownMenu.SubContent>): import("react").JSX.Element;
|
|
28
|
+
declare function DropdownMenuLabel({ className, ...props }: ComponentProps<typeof DropdownMenu.Label>): import("react").JSX.Element;
|
|
29
29
|
/** The keystroke printed at the right of a row; the row supplies the gap. */
|
|
30
|
-
declare function DropdownMenuShortcut({ className, ...props }: ComponentProps<'span'>): import("react
|
|
31
|
-
declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof DropdownMenu.Separator>): import("react
|
|
30
|
+
declare function DropdownMenuShortcut({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
31
|
+
declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof DropdownMenu.Separator>): import("react").JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { DropdownMenu$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, dropdownMenuItemVariants };
|
|
34
34
|
//# sourceMappingURL=DropdownMenu.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.cts","names":[],"sources":["../../src/components/DropdownMenu.tsx"],"mappings":";;;;;iBAOgB,eAAa,OAAO,sBAAsB,aAAsB,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.cts","names":[],"sources":["../../src/components/DropdownMenu.tsx"],"mappings":";;;;;iBAOgB,eAAa,OAAO,sBAAsB,aAAsB,wBAAK,IAAA;iBAIrE,oBAAoB,OAAO,sBAAsB,aAAsB,2BAAQ,IAAA;;iBAK/E,kBAAkB,OAAO,sBAAsB,aAAsB,yBAAM,IAAA;iBAQ3E,sBACd,WACA,OACA,eACG,SACF,sBAAsB,aAAsB,2BAAQ,IAAA;cAc1C,2BAAwB;;;6CAapC;UAEgB,8BACP,sBAAsB,aAAsB,OAAO,oBAAoB;iBAEjE,mBAAmB,WAAW,SAAS,aAAa,SAAS,wCAAqB,IAAA;UAoBjF,sCACP,sBAAsB,aAAsB,eAAe,oBAAoB;;iBAGzE,2BAA2B,WAAW,SAAS,aAAa,SAAS,gDAA6B,IAAA;;iBAgBlG,uBAAuB,OAAO,sBAAsB,aAAsB,8BAAW,IAAA;UAIpF,mCACP,sBAAsB,aAAsB,YAAY,oBAAoB;iBAEtE,wBAAwB,WAAW,SAAS,aAAa,SAAS,6CAA0B,IAAA;iBAe5F,gBAAgB,OAAO,sBAAsB,aAAsB,uBAAI,IAAA;;iBAKvE,yBACd,WACA,aACG,SACF,sBAAsB,aAAsB,8BAAW,IAAA;iBAa1C,yBACd,WACA,eACG,SACF,sBAAsB,aAAsB,8BAAW,IAAA;iBAa1C,oBAAoB,cAAc,SAAS,sBAAsB,aAAsB,yBAAM,IAAA;;iBAW7F,uBAAuB,cAAc,SAAS,yCAAsB,IAAA;iBAUpE,wBAAwB,cAAc,SAAS,sBAAsB,aAAsB,6BAAU,IAAA"}
|
|
@@ -12,7 +12,7 @@ interface EmptyStateProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
}
|
|
14
14
|
/** The centred "nothing here yet" card every empty panel shares. */
|
|
15
|
-
declare function EmptyState({ title, description, children, className, asChild, ...props }: EmptyStateProps): import("react
|
|
15
|
+
declare function EmptyState({ title, description, children, className, asChild, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { EmptyState, EmptyStateProps };
|
|
18
18
|
//# sourceMappingURL=EmptyState.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.cts","names":[],"sources":["../../src/components/EmptyState.tsx"],"mappings":";;UAIiB,wBAAwB,KAAK;EAC5C,OAAO;EACP,cAAc;;EAEd,WAAW;;;;;EAKX;;;iBAIc,aAAa,OAAO,aAAa,UAAU,WAAW,YAAoB,SAAS,
|
|
1
|
+
{"version":3,"file":"EmptyState.d.cts","names":[],"sources":["../../src/components/EmptyState.tsx"],"mappings":";;UAIiB,wBAAwB,KAAK;EAC5C,OAAO;EACP,cAAc;;EAEd,WAAW;;;;;EAKX;;;iBAIc,aAAa,OAAO,aAAa,UAAU,WAAW,YAAoB,SAAS,kCAAe,IAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PresentedLine } from "../lib/hashlineView.cjs";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/HashlineLines.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* The anchored body shared by hashline results: a file heading per group, a
|
|
6
|
+
* right-aligned line-number gutter, and a `>>` marker on grep matches. The
|
|
7
|
+
* gutter width is a style, not a class, because it follows the widest number.
|
|
8
|
+
*/
|
|
9
|
+
interface HashlineLinesProps extends ComponentProps<'div'> {
|
|
10
|
+
lines: readonly PresentedLine[];
|
|
11
|
+
/** Width of the line-number column, in characters, from `hashlineBody`. */
|
|
12
|
+
gutter: number;
|
|
13
|
+
}
|
|
14
|
+
declare function HashlineLines({ className, lines, gutter, ...props }: HashlineLinesProps): import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { HashlineLines, HashlineLinesProps };
|
|
17
|
+
//# sourceMappingURL=HashlineLines.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashlineLines.d.cts","names":[],"sources":["../../src/components/HashlineLines.tsx"],"mappings":";;;;;;;;UASiB,2BAA2B;EAC1C,gBAAgB;;EAEhB;;iBAGc,gBAAgB,WAAW,OAAO,WAAW,SAAS,qCAAkB,IAAA"}
|
|
@@ -14,7 +14,7 @@ type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;
|
|
|
14
14
|
type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;
|
|
15
15
|
interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}
|
|
16
16
|
/** The one text field: deep well, quiet border, accent border on focus, red edge when invalid. */
|
|
17
|
-
declare function Input({ className, type, variant, size, ...props }: InputProps): import("react
|
|
17
|
+
declare function Input({ className, type, variant, size, ...props }: InputProps): import("react").JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { FieldSize, FieldVariant, Input, InputProps, fieldVariants };
|
|
20
20
|
//# sourceMappingURL=Input.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.cts","names":[],"sources":["../../src/components/Input.tsx"],"mappings":";;;;;;;;cASa,gBAAa;;;6CAwBzB;KAEW,eAAe,YAAY,oBAAoB;KAC/C,YAAY,YAAY,oBAAoB;UAEvC,mBAAmB,KAAK,kCAAkC,oBAAoB;;iBAG/E,QAAQ,WAAW,MAAM,SAAS,SAAS,SAAS,
|
|
1
|
+
{"version":3,"file":"Input.d.cts","names":[],"sources":["../../src/components/Input.tsx"],"mappings":";;;;;;;;cASa,gBAAa;;;6CAwBzB;KAEW,eAAe,YAAY,oBAAoB;KAC/C,YAAY,YAAY,oBAAoB;UAEvC,mBAAmB,KAAK,kCAAkC,oBAAoB;;iBAG/E,QAAQ,WAAW,MAAM,SAAS,SAAS,SAAS,6BAAU,IAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/components/Kbd.d.ts
|
|
3
3
|
/** A key or key path, drawn as the leader hints draw them. */
|
|
4
|
-
declare function Kbd({ className, ...props }: ComponentProps<'kbd'>): import("react
|
|
4
|
+
declare function Kbd({ className, ...props }: ComponentProps<'kbd'>): import("react").JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Kbd };
|
|
7
7
|
//# sourceMappingURL=Kbd.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.d.cts","names":[],"sources":["../../src/components/Kbd.tsx"],"mappings":";;;iBAIgB,MAAM,cAAc,SAAS,
|
|
1
|
+
{"version":3,"file":"Kbd.d.cts","names":[],"sources":["../../src/components/Kbd.tsx"],"mappings":";;;iBAIgB,MAAM,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -2,7 +2,7 @@ import { Label } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Label.d.ts
|
|
4
4
|
/** A field's name: clicking it focuses the control, which a bare span never does. */
|
|
5
|
-
declare function Label$1({ className, ...props }: ComponentProps<typeof Label.Root>): import("react
|
|
5
|
+
declare function Label$1({ className, ...props }: ComponentProps<typeof Label.Root>): import("react").JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Label$1 as Label };
|
|
8
8
|
//# sourceMappingURL=Label.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.cts","names":[],"sources":["../../src/components/Label.tsx"],"mappings":";;;;iBAKgB,UAAQ,cAAc,SAAS,sBAAsB,MAAe,
|
|
1
|
+
{"version":3,"file":"Label.d.cts","names":[],"sources":["../../src/components/Label.tsx"],"mappings":";;;;iBAKgB,UAAQ,cAAc,SAAS,sBAAsB,MAAe,wBAAK,IAAA"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
//#region src/components/Markdown.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* What a piece of inline code opens, when the host knows.
|
|
4
|
+
*
|
|
5
|
+
* Returning undefined leaves the span as plain code, which is the answer for
|
|
6
|
+
* everything a message quotes that is not a file: a class name, a flag, a
|
|
7
|
+
* command. The caller decides what counts, because only it knows which files
|
|
8
|
+
* the session has.
|
|
9
|
+
*/
|
|
10
|
+
type FileLinkHandler = (text: string) => (() => void) | undefined;
|
|
2
11
|
/** GitHub-flavored Markdown using the cockpit's safe, shared presentation. */
|
|
3
|
-
declare function Markdown({ text }: {
|
|
12
|
+
declare function Markdown({ text, onFileLink }: {
|
|
4
13
|
text: string;
|
|
5
|
-
|
|
14
|
+
onFileLink?: FileLinkHandler;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
6
16
|
//#endregion
|
|
7
|
-
export { Markdown };
|
|
17
|
+
export { FileLinkHandler, Markdown };
|
|
8
18
|
//# sourceMappingURL=Markdown.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.cts","names":[],"sources":["../../src/components/Markdown.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Markdown.d.cts","names":[],"sources":["../../src/components/Markdown.tsx"],"mappings":";;;;;;;;;KAgBY,mBAAmB;;iBAiFf,WAAW,MAAM;EAAgB;EAAc,aAAa;oBAAiB,IAAA"}
|
|
@@ -19,7 +19,7 @@ interface MediaPreviewProps {
|
|
|
19
19
|
className?: string;
|
|
20
20
|
'data-testid'?: string;
|
|
21
21
|
}
|
|
22
|
-
declare function MediaPreview({ src, path, kind, className, 'data-testid': testId }: MediaPreviewProps): import("react
|
|
22
|
+
declare function MediaPreview({ src, path, kind, className, 'data-testid': testId }: MediaPreviewProps): import("react").JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { MediaPreview, MediaPreviewProps };
|
|
25
25
|
//# sourceMappingURL=MediaPreview.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaPreview.d.cts","names":[],"sources":["../../src/components/MediaPreview.tsx"],"mappings":";;;;;;;;;;;UAgBiB;;EAEf;;EAEA;;EAEA,OAAO;EACP;EACA;;iBAKc,eAAe,KAAK,MAAM,MAAM,0BAA0B,UAAU,
|
|
1
|
+
{"version":3,"file":"MediaPreview.d.cts","names":[],"sources":["../../src/components/MediaPreview.tsx"],"mappings":";;;;;;;;;;;UAgBiB;;EAEf;;EAEA;;EAEA,OAAO;EACP;EACA;;iBAKc,eAAe,KAAK,MAAM,MAAM,0BAA0B,UAAU,oCAAiB,IAAA"}
|
|
@@ -33,7 +33,7 @@ interface MessageItemProps extends Omit<ComponentProps<'div'>, 'children'>, Vari
|
|
|
33
33
|
/** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */
|
|
34
34
|
children?: ReactNode | ((state: MessageItemState) => ReactNode);
|
|
35
35
|
}
|
|
36
|
-
declare function MessageItem({ className, tone, expandable, defaultExpanded, expanded, onExpandedChange, children, ...props }: MessageItemProps): import("react
|
|
36
|
+
declare function MessageItem({ className, tone, expandable, defaultExpanded, expanded, onExpandedChange, children, ...props }: MessageItemProps): import("react").JSX.Element;
|
|
37
37
|
/** The tone a tool call's item wears: running while the tool runs, then its outcome. */
|
|
38
38
|
declare function toolTone(state: {
|
|
39
39
|
running: boolean;
|
|
@@ -50,9 +50,9 @@ interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
|
50
50
|
children?: ReactNode;
|
|
51
51
|
}
|
|
52
52
|
/** The title row: label, summary, the tone's badge, and the expand toggle when the item is expandable. */
|
|
53
|
-
declare function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps): import("react
|
|
53
|
+
declare function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps): import("react").JSX.Element;
|
|
54
54
|
/** The recessed body under the header. */
|
|
55
|
-
declare function MessageItemBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
55
|
+
declare function MessageItemBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
56
56
|
/** The glyph a tone reads as in a status line. */
|
|
57
57
|
declare const STATUS_GLYPH: Readonly<Record<StatusTone, string>>;
|
|
58
58
|
declare const messageItemStatusVariants: (props?: ({
|
|
@@ -65,7 +65,7 @@ interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<ty
|
|
|
65
65
|
expands?: boolean;
|
|
66
66
|
}
|
|
67
67
|
/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */
|
|
68
|
-
declare function MessageItemStatus({ className, tone, glyph, expands, children, ...props }: MessageItemStatusProps): import("react
|
|
68
|
+
declare function MessageItemStatus({ className, tone, glyph, expands, children, ...props }: MessageItemStatusProps): import("react").JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { MessageItem, MessageItemBody, MessageItemHeader, MessageItemHeaderProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, messageItemStatusVariants, messageItemVariants, toolTone, useMessageItem };
|
|
71
71
|
//# sourceMappingURL=MessageItem.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.cts","names":[],"sources":["../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;UAgBiB;EACf,MAAM;;EAEN;EACA;EACA;;;iBAWc,kBAAkB;;cAKrB,sBAAmB;;6CAG9B;UAEe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;iBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF
|
|
1
|
+
{"version":3,"file":"MessageItem.d.cts","names":[],"sources":["../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;UAgBiB;EACf,MAAM;;EAEN;EACA;EACA;;;iBAWc,kBAAkB;;cAKrB,sBAAmB;;6CAG9B;UAEe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;iBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF,mCAAgB,IAAA;;iBA4BH,SAAS;EAAS;EAAkB;IAAqB;;cAK5D,cAAc,SAAS,OAAO;UAS1B,+BAA+B,KAAK;;EAEnD,OAAO;;EAEP,QAAQ;;EAER,WAAW;;;iBAIG,oBAAoB,WAAW,OAAO,OAAO,aAAa,SAAS,yCAAsB,IAAA;;iBAoCzF,kBAAkB,cAAc,SAAS,wCAAqB,IAAA;;cAWjE,cAAc,SAAS,OAAO;cAS9B,4BAAyB;;6CAYpC;UAEe,+BAA+B,wBAAwB,oBAAoB;;EAE1F;;EAEA;;;iBAIc,oBACd,WACA,MACA,OACA,SACA,aACG,SACF,yCAAsB,IAAA"}
|
|
@@ -18,7 +18,7 @@ interface MessageLinesProps extends ComponentProps<'div'> {
|
|
|
18
18
|
lines: readonly MessageLine[];
|
|
19
19
|
}
|
|
20
20
|
/** A body of toned lines: what a card's view helper computed, drawn one line per row. */
|
|
21
|
-
declare function MessageLines({ className, lines, ...props }: MessageLinesProps): import("react
|
|
21
|
+
declare function MessageLines({ className, lines, ...props }: MessageLinesProps): import("react").JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MessageLine, MessageLineTone, MessageLines, MessageLinesProps, messageLineVariants };
|
|
24
24
|
//# sourceMappingURL=MessageLines.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageLines.d.cts","names":[],"sources":["../../src/components/MessageLines.tsx"],"mappings":";;;;KAMY,kBAAkB;UAEb;EACf;EACA,MAAM;EACN;EACA;;cAGW,sBAAmB;;;;6CAgB9B;UAEe,0BAA0B;EACzC,gBAAgB;;;iBAIF,eAAe,WAAW,UAAU,SAAS,
|
|
1
|
+
{"version":3,"file":"MessageLines.d.cts","names":[],"sources":["../../src/components/MessageLines.tsx"],"mappings":";;;;KAMY,kBAAkB;UAEb;EACf;EACA,MAAM;EACN;EACA;;cAGW,sBAAmB;;;;6CAgB9B;UAEe,0BAA0B;EACzC,gBAAgB;;;iBAIF,eAAe,WAAW,UAAU,SAAS,oCAAiB,IAAA"}
|
|
@@ -22,9 +22,9 @@ interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof o
|
|
|
22
22
|
* and a description side by side; OptionLabel is the single-string case.
|
|
23
23
|
* `role="option"` means a row belongs inside a `listbox`.
|
|
24
24
|
*/
|
|
25
|
-
declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react
|
|
25
|
+
declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react").JSX.Element;
|
|
26
26
|
/** A row's single-string label: it takes the remaining width and clips or wraps by density. */
|
|
27
|
-
declare function OptionLabel({ className, density, ...props }: ComponentProps<'span'> & VariantProps<typeof optionListVariants>): import("react
|
|
27
|
+
declare function OptionLabel({ className, density, ...props }: ComponentProps<'span'> & VariantProps<typeof optionListVariants>): import("react").JSX.Element;
|
|
28
28
|
interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, VariantProps<typeof optionListVariants> {
|
|
29
29
|
options: readonly string[];
|
|
30
30
|
/** The highlighted row, owned by the surface so its own focused element can drive it. */
|
|
@@ -44,7 +44,7 @@ interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, Varia
|
|
|
44
44
|
* a list would fight the library for it and break the escape and outside-click
|
|
45
45
|
* behaviour that focus carries. Pair it with handleOptionListKey.
|
|
46
46
|
*/
|
|
47
|
-
declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react
|
|
47
|
+
declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react").JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { OptionLabel, OptionList, OptionListProps, OptionRow, OptionRowProps, optionListVariants, optionMarkerVariants, optionRowVariants };
|
|
50
50
|
//# sourceMappingURL=OptionList.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;cAKa,qBAAkB;;6CAM7B;cAEW,oBAAiB;;;6CAc5B;cAEW,uBAAoB;;6CAQ/B;UAEe,uBAAuB,0BAA0B,oBAAoB;;EAEpF,SAAS;;;;;;;;;iBAUK,YAAY,WAAW,SAAS,QAAQ,QAAQ,aAAa,SAAS,
|
|
1
|
+
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;cAKa,qBAAkB;;6CAM7B;cAEW,oBAAiB;;;6CAc5B;cAEW,uBAAoB;;6CAQ/B;UAEe,uBAAuB,0BAA0B,oBAAoB;;EAEpF,SAAS;;;;;;;;;iBAUK,YAAY,WAAW,SAAS,QAAQ,QAAQ,aAAa,SAAS,iCAAc,IAAA;;iBAkBpF,cACd,WACA,YACG,SACF,yBAAyB,oBAAoB,sCAAmB,IAAA;UAclD,wBACP,KAAK,oCAAoC,oBAAoB;EACrE;;EAEA;EACA,iBAAiB;EACjB,WAAW;;EAEX;;;;;;;;;;;;iBAac,aACd,WACA,SACA,QACA,gBACA,UACA,cACA,YACG,SACF,kCAAe,IAAA"}
|
|
@@ -5,11 +5,11 @@ interface PanelProps extends ComponentProps<'div'> {
|
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
}
|
|
7
7
|
/** The bordered card surface: a tool card, a run card, a provider row. */
|
|
8
|
-
declare function Panel({ className, asChild, ...props }: PanelProps): import("react
|
|
8
|
+
declare function Panel({ className, asChild, ...props }: PanelProps): import("react").JSX.Element;
|
|
9
9
|
/** A panel's title row. */
|
|
10
|
-
declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react
|
|
10
|
+
declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
11
11
|
/** A panel's recessed body: the deep well the header sits above. */
|
|
12
|
-
declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
12
|
+
declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Panel, PanelBody, PanelHeader, PanelProps };
|
|
15
15
|
//# sourceMappingURL=Panel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;UAIiB,mBAAmB;;EAElC;;;iBAIc,QAAQ,WAAW,YAAoB,SAAS,
|
|
1
|
+
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;UAIiB,mBAAmB;;EAElC;;;iBAIc,QAAQ,WAAW,YAAoB,SAAS,6BAAU,IAAA;;iBAY1D,cAAc,cAAc,SAAS,wCAAqB,IAAA;;iBAO1D,YAAY,cAAc,SAAS,wCAAqB,IAAA"}
|