@tollerud/ui 1.1.5 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +34 -11
- package/CHANGELOG.md +376 -0
- package/COMPONENTS.md +951 -0
- package/GETTING_STARTED.md +159 -0
- package/README.md +51 -43
- package/SKILL.md +55 -21
- package/components.json +18 -0
- package/dist/accordion.d.ts +20 -0
- package/dist/accordion.js +5 -0
- package/dist/accordion.js.map +1 -0
- package/dist/action-diff.d.ts +26 -0
- package/dist/action-diff.js +5 -0
- package/dist/action-diff.js.map +1 -0
- package/dist/action-row.d.ts +36 -0
- package/dist/action-row.js +6 -0
- package/dist/action-row.js.map +1 -0
- package/dist/alert-inbox.d.ts +23 -0
- package/dist/alert-inbox.js +6 -0
- package/dist/alert-inbox.js.map +1 -0
- package/dist/alert.d.ts +33 -0
- package/dist/alert.js +5 -0
- package/dist/alert.js.map +1 -0
- package/dist/approval-card.d.ts +27 -0
- package/dist/approval-card.js +5 -0
- package/dist/approval-card.js.map +1 -0
- package/dist/area-chart.d.ts +10 -0
- package/dist/area-chart.js +5 -0
- package/dist/area-chart.js.map +1 -0
- package/dist/avatar.d.ts +27 -0
- package/dist/avatar.js +5 -0
- package/dist/avatar.js.map +1 -0
- package/dist/backup-status-panel.d.ts +25 -0
- package/dist/backup-status-panel.js +6 -0
- package/dist/backup-status-panel.js.map +1 -0
- package/dist/badge.d.ts +17 -0
- package/dist/badge.js +5 -0
- package/dist/badge.js.map +1 -0
- package/dist/bar-chart.d.ts +15 -0
- package/dist/bar-chart.js +5 -0
- package/dist/bar-chart.js.map +1 -0
- package/dist/bento-dashboard.d.ts +30 -0
- package/dist/bento-dashboard.js +5 -0
- package/dist/bento-dashboard.js.map +1 -0
- package/dist/breadcrumb.d.ts +16 -0
- package/dist/breadcrumb.js +5 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/button.d.ts +29 -0
- package/dist/button.js +5 -0
- package/dist/button.js.map +1 -0
- package/dist/card.d.ts +10 -0
- package/dist/card.js +5 -0
- package/dist/card.js.map +1 -0
- package/dist/checkbox.d.ts +9 -0
- package/dist/checkbox.js +5 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/chunk-2QWKOCWF.js +79 -0
- package/dist/chunk-2QWKOCWF.js.map +1 -0
- package/dist/chunk-3TGMGBKM.js +393 -0
- package/dist/chunk-3TGMGBKM.js.map +1 -0
- package/dist/chunk-3XTZPDNV.js +94 -0
- package/dist/chunk-3XTZPDNV.js.map +1 -0
- package/dist/chunk-435JHF7G.js +65 -0
- package/dist/chunk-435JHF7G.js.map +1 -0
- package/dist/chunk-4PA2ACNF.js +52 -0
- package/dist/chunk-4PA2ACNF.js.map +1 -0
- package/dist/chunk-5GWHUJ5D.js +29 -0
- package/dist/chunk-5GWHUJ5D.js.map +1 -0
- package/dist/chunk-6FUKJD3W.js +123 -0
- package/dist/chunk-6FUKJD3W.js.map +1 -0
- package/dist/chunk-6IS2AYYG.js +106 -0
- package/dist/chunk-6IS2AYYG.js.map +1 -0
- package/dist/chunk-6PZKU6ZL.js +78 -0
- package/dist/chunk-6PZKU6ZL.js.map +1 -0
- package/dist/chunk-6SKTH45H.js +75 -0
- package/dist/chunk-6SKTH45H.js.map +1 -0
- package/dist/chunk-6UXW5YUC.js +77 -0
- package/dist/chunk-6UXW5YUC.js.map +1 -0
- package/dist/chunk-7EP2T3OW.js +52 -0
- package/dist/chunk-7EP2T3OW.js.map +1 -0
- package/dist/chunk-7J5QXUQN.js +38 -0
- package/dist/chunk-7J5QXUQN.js.map +1 -0
- package/dist/chunk-7TOT5ME3.js +53 -0
- package/dist/chunk-7TOT5ME3.js.map +1 -0
- package/dist/chunk-A6L5C3IJ.js +47 -0
- package/dist/chunk-A6L5C3IJ.js.map +1 -0
- package/dist/chunk-ANW6J6PV.js +42 -0
- package/dist/chunk-ANW6J6PV.js.map +1 -0
- package/dist/chunk-APFFKNPS.js +80 -0
- package/dist/chunk-APFFKNPS.js.map +1 -0
- package/dist/chunk-AZADSX4Z.js +85 -0
- package/dist/chunk-AZADSX4Z.js.map +1 -0
- package/dist/chunk-BPCH5LJ3.js +36 -0
- package/dist/chunk-BPCH5LJ3.js.map +1 -0
- package/dist/chunk-CBQ63EBL.js +85 -0
- package/dist/chunk-CBQ63EBL.js.map +1 -0
- package/dist/chunk-CDI7353B.js +40 -0
- package/dist/chunk-CDI7353B.js.map +1 -0
- package/dist/chunk-CKNWXYMA.js +53 -0
- package/dist/chunk-CKNWXYMA.js.map +1 -0
- package/dist/chunk-DFM7UUKB.js +79 -0
- package/dist/chunk-DFM7UUKB.js.map +1 -0
- package/dist/chunk-DGCRHVWW.js +84 -0
- package/dist/chunk-DGCRHVWW.js.map +1 -0
- package/dist/chunk-DNJI65VQ.js +22 -0
- package/dist/chunk-DNJI65VQ.js.map +1 -0
- package/dist/chunk-DOUDJU4P.js +63 -0
- package/dist/chunk-DOUDJU4P.js.map +1 -0
- package/dist/chunk-DRCMGIQ6.js +64 -0
- package/dist/chunk-DRCMGIQ6.js.map +1 -0
- package/dist/chunk-DZOBXK2S.js +28 -0
- package/dist/chunk-DZOBXK2S.js.map +1 -0
- package/dist/chunk-EN4OJCEF.js +54 -0
- package/dist/chunk-EN4OJCEF.js.map +1 -0
- package/dist/chunk-EVHZFYWX.js +33 -0
- package/dist/chunk-EVHZFYWX.js.map +1 -0
- package/dist/chunk-FGXOV2QH.js +23 -0
- package/dist/chunk-FGXOV2QH.js.map +1 -0
- package/dist/chunk-G2VKWNZA.js +53 -0
- package/dist/chunk-G2VKWNZA.js.map +1 -0
- package/dist/chunk-GTM2DE4C.js +156 -0
- package/dist/chunk-GTM2DE4C.js.map +1 -0
- package/dist/chunk-H3ZVGTJM.js +165 -0
- package/dist/chunk-H3ZVGTJM.js.map +1 -0
- package/dist/chunk-HWAWUEHC.js +28 -0
- package/dist/chunk-HWAWUEHC.js.map +1 -0
- package/dist/chunk-HWJVRTWO.js +36 -0
- package/dist/chunk-HWJVRTWO.js.map +1 -0
- package/dist/chunk-HYQGOC2E.js +79 -0
- package/dist/chunk-HYQGOC2E.js.map +1 -0
- package/dist/chunk-ILADNTUB.js +77 -0
- package/dist/chunk-ILADNTUB.js.map +1 -0
- package/dist/chunk-ISHZ6ZPJ.js +31 -0
- package/dist/chunk-ISHZ6ZPJ.js.map +1 -0
- package/dist/chunk-JRFSUVSO.js +66 -0
- package/dist/chunk-JRFSUVSO.js.map +1 -0
- package/dist/chunk-KI6OTVID.js +91 -0
- package/dist/chunk-KI6OTVID.js.map +1 -0
- package/dist/chunk-LUM2YJBH.js +73 -0
- package/dist/chunk-LUM2YJBH.js.map +1 -0
- package/dist/chunk-NHPISZWS.js +71 -0
- package/dist/chunk-NHPISZWS.js.map +1 -0
- package/dist/chunk-NOLWJJHT.js +52 -0
- package/dist/chunk-NOLWJJHT.js.map +1 -0
- package/dist/chunk-NPVINX3Q.js +20 -0
- package/dist/chunk-NPVINX3Q.js.map +1 -0
- package/dist/chunk-NSMU66ZX.js +47 -0
- package/dist/chunk-NSMU66ZX.js.map +1 -0
- package/dist/chunk-O57QMLNI.js +68 -0
- package/dist/chunk-O57QMLNI.js.map +1 -0
- package/dist/chunk-O5SWPHUQ.js +79 -0
- package/dist/chunk-O5SWPHUQ.js.map +1 -0
- package/dist/chunk-OGVSZ7NV.js +53 -0
- package/dist/chunk-OGVSZ7NV.js.map +1 -0
- package/dist/chunk-OONIUDST.js +48 -0
- package/dist/chunk-OONIUDST.js.map +1 -0
- package/dist/chunk-PLF3BBQI.js +139 -0
- package/dist/chunk-PLF3BBQI.js.map +1 -0
- package/dist/chunk-Q74VRQEX.js +26 -0
- package/dist/chunk-Q74VRQEX.js.map +1 -0
- package/dist/chunk-QEHTPQHL.js +35 -0
- package/dist/chunk-QEHTPQHL.js.map +1 -0
- package/dist/chunk-RJTDQOT2.js +73 -0
- package/dist/chunk-RJTDQOT2.js.map +1 -0
- package/dist/chunk-RQ3RXKAZ.js +203 -0
- package/dist/chunk-RQ3RXKAZ.js.map +1 -0
- package/dist/chunk-RWJELAS6.js +46 -0
- package/dist/chunk-RWJELAS6.js.map +1 -0
- package/dist/chunk-RZK2S2OO.js +126 -0
- package/dist/chunk-RZK2S2OO.js.map +1 -0
- package/dist/chunk-SAP7JSSO.js +106 -0
- package/dist/chunk-SAP7JSSO.js.map +1 -0
- package/dist/chunk-T3TQPOVM.js +79 -0
- package/dist/chunk-T3TQPOVM.js.map +1 -0
- package/dist/chunk-T56TTOI6.js +53 -0
- package/dist/chunk-T56TTOI6.js.map +1 -0
- package/dist/chunk-T7EFDE2L.js +36 -0
- package/dist/chunk-T7EFDE2L.js.map +1 -0
- package/dist/chunk-V3P5QLLX.js +154 -0
- package/dist/chunk-V3P5QLLX.js.map +1 -0
- package/dist/chunk-VTRUUT5K.js +31 -0
- package/dist/chunk-VTRUUT5K.js.map +1 -0
- package/dist/chunk-WDANALHD.js +95 -0
- package/dist/chunk-WDANALHD.js.map +1 -0
- package/dist/chunk-WSQNPRGN.js +12 -0
- package/dist/chunk-WSQNPRGN.js.map +1 -0
- package/dist/chunk-XR5QBVEV.js +56 -0
- package/dist/chunk-XR5QBVEV.js.map +1 -0
- package/dist/chunk-YYWODLER.js +111 -0
- package/dist/chunk-YYWODLER.js.map +1 -0
- package/dist/chunk-ZOXO3G3I.js +50 -0
- package/dist/chunk-ZOXO3G3I.js.map +1 -0
- package/dist/code-block.d.ts +14 -0
- package/dist/code-block.js +5 -0
- package/dist/code-block.js.map +1 -0
- package/dist/combobox.d.ts +26 -0
- package/dist/combobox.js +5 -0
- package/dist/combobox.js.map +1 -0
- package/dist/command-menu.d.ts +52 -0
- package/dist/command-menu.js +7 -0
- package/dist/command-menu.js.map +1 -0
- package/dist/container.d.ts +9 -0
- package/dist/container.js +5 -0
- package/dist/container.js.map +1 -0
- package/dist/cta-band.d.ts +12 -0
- package/dist/cta-band.js +5 -0
- package/dist/cta-band.js.map +1 -0
- package/dist/data-table.d.ts +58 -0
- package/dist/data-table.js +12 -0
- package/dist/data-table.js.map +1 -0
- package/dist/date-picker.d.ts +20 -0
- package/dist/date-picker.js +5 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/dialog.d.ts +21 -0
- package/dist/dialog.js +5 -0
- package/dist/dialog.js.map +1 -0
- package/dist/divider.d.ts +12 -0
- package/dist/divider.js +5 -0
- package/dist/divider.js.map +1 -0
- package/dist/docker-stack-card.d.ts +21 -0
- package/dist/docker-stack-card.js +6 -0
- package/dist/docker-stack-card.js.map +1 -0
- package/dist/donut.d.ts +15 -0
- package/dist/donut.js +5 -0
- package/dist/donut.js.map +1 -0
- package/dist/dropdown-menu.d.ts +15 -0
- package/dist/dropdown-menu.js +5 -0
- package/dist/dropdown-menu.js.map +1 -0
- package/dist/empty.d.ts +12 -0
- package/dist/empty.js +5 -0
- package/dist/empty.js.map +1 -0
- package/dist/feature-card.d.ts +11 -0
- package/dist/feature-card.js +6 -0
- package/dist/feature-card.js.map +1 -0
- package/dist/file-upload.d.ts +20 -0
- package/dist/file-upload.js +5 -0
- package/dist/file-upload.js.map +1 -0
- package/dist/footer.d.ts +35 -0
- package/dist/footer.js +5 -0
- package/dist/footer.js.map +1 -0
- package/dist/form-row.d.ts +15 -0
- package/dist/form-row.js +5 -0
- package/dist/form-row.js.map +1 -0
- package/dist/glow-card.d.ts +14 -0
- package/dist/glow-card.js +5 -0
- package/dist/glow-card.js.map +1 -0
- package/dist/hero-block.d.ts +16 -0
- package/dist/hero-block.js +7 -0
- package/dist/hero-block.js.map +1 -0
- package/dist/host-card.d.ts +27 -0
- package/dist/host-card.js +6 -0
- package/dist/host-card.js.map +1 -0
- package/dist/incident-card.d.ts +23 -0
- package/dist/incident-card.js +5 -0
- package/dist/incident-card.js.map +1 -0
- package/dist/index.d.ts +76 -960
- package/dist/index.js +68 -3812
- package/dist/index.js.map +1 -1
- package/dist/input.d.ts +10 -0
- package/dist/input.js +5 -0
- package/dist/input.js.map +1 -0
- package/dist/kbd.d.ts +24 -0
- package/dist/kbd.js +5 -0
- package/dist/kbd.js.map +1 -0
- package/dist/log-viewer.d.ts +35 -0
- package/dist/log-viewer.js +5 -0
- package/dist/log-viewer.js.map +1 -0
- package/dist/meter.d.ts +23 -0
- package/dist/meter.js +5 -0
- package/dist/meter.js.map +1 -0
- package/dist/noir-glow-background.d.ts +50 -0
- package/dist/noir-glow-background.js +4 -0
- package/dist/noir-glow-background.js.map +1 -0
- package/dist/pagination.d.ts +16 -0
- package/dist/pagination.js +5 -0
- package/dist/pagination.js.map +1 -0
- package/dist/panel.d.ts +12 -0
- package/dist/panel.js +5 -0
- package/dist/panel.js.map +1 -0
- package/dist/password-input.d.ts +10 -0
- package/dist/password-input.js +5 -0
- package/dist/password-input.js.map +1 -0
- package/dist/pill.d.ts +14 -0
- package/dist/pill.js +5 -0
- package/dist/pill.js.map +1 -0
- package/dist/pricing-card.d.ts +20 -0
- package/dist/pricing-card.js +6 -0
- package/dist/pricing-card.js.map +1 -0
- package/dist/progress.d.ts +6 -0
- package/dist/progress.js +5 -0
- package/dist/progress.js.map +1 -0
- package/dist/radio-group.d.ts +18 -0
- package/dist/radio-group.js +5 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/rollback-plan.d.ts +23 -0
- package/dist/rollback-plan.js +5 -0
- package/dist/rollback-plan.js.map +1 -0
- package/dist/segmented.d.ts +17 -0
- package/dist/segmented.js +5 -0
- package/dist/segmented.js.map +1 -0
- package/dist/select.d.ts +18 -0
- package/dist/select.js +5 -0
- package/dist/select.js.map +1 -0
- package/dist/service-health-card.d.ts +21 -0
- package/dist/service-health-card.js +6 -0
- package/dist/service-health-card.js.map +1 -0
- package/dist/sheet.d.ts +25 -0
- package/dist/sheet.js +5 -0
- package/dist/sheet.js.map +1 -0
- package/dist/skeleton.d.ts +5 -0
- package/dist/skeleton.js +5 -0
- package/dist/skeleton.js.map +1 -0
- package/dist/slider.d.ts +12 -0
- package/dist/slider.js +5 -0
- package/dist/slider.js.map +1 -0
- package/dist/sparkline.d.ts +16 -0
- package/dist/sparkline.js +5 -0
- package/dist/sparkline.js.map +1 -0
- package/dist/stat-card.d.ts +15 -0
- package/dist/stat-card.js +5 -0
- package/dist/stat-card.js.map +1 -0
- package/dist/status-dot.d.ts +13 -0
- package/dist/status-dot.js +5 -0
- package/dist/status-dot.js.map +1 -0
- package/dist/stepper.d.ts +16 -0
- package/dist/stepper.js +5 -0
- package/dist/stepper.js.map +1 -0
- package/dist/switch.d.ts +9 -0
- package/dist/switch.js +5 -0
- package/dist/switch.js.map +1 -0
- package/dist/tabs.d.ts +9 -0
- package/dist/tabs.js +5 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tag-input.d.ts +20 -0
- package/dist/tag-input.js +5 -0
- package/dist/tag-input.js.map +1 -0
- package/dist/textarea.d.ts +10 -0
- package/dist/textarea.js +5 -0
- package/dist/textarea.js.map +1 -0
- package/dist/timeline.d.ts +30 -0
- package/dist/timeline.js +5 -0
- package/dist/timeline.js.map +1 -0
- package/dist/toaster.d.ts +10 -0
- package/dist/toaster.js +4 -0
- package/dist/toaster.js.map +1 -0
- package/dist/tooltip.d.ts +12 -0
- package/dist/tooltip.js +5 -0
- package/dist/tooltip.js.map +1 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -0
- package/globals-layers.css +935 -0
- package/globals-v3.css +17 -0
- package/globals-v4.css +2 -0
- package/globals.css +12 -939
- package/package.json +82 -16
- package/registry.json +920 -0
- package/tailwind.css +9 -0
- package/dist/index.cjs +0 -3938
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -960
package/dist/index.d.cts
DELETED
|
@@ -1,960 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as react from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, CSSProperties, ReactNode, TextareaHTMLAttributes, ReactElement, ComponentPropsWithoutRef } from 'react';
|
|
4
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
5
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
6
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
7
|
-
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
8
|
-
import { ToasterProps } from 'sonner';
|
|
9
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
10
|
-
|
|
11
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
12
|
-
|
|
13
|
-
declare const variants: {
|
|
14
|
-
readonly primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow hover:shadow-tollerud-glow";
|
|
15
|
-
readonly secondary: "bg-transparent text-tollerud-text-primary border-tollerud-border hover:border-tollerud-text-secondary hover:bg-tollerud-surface-hover";
|
|
16
|
-
readonly ghost: "bg-transparent text-tollerud-text-secondary border-transparent hover:text-tollerud-text-primary hover:bg-tollerud-surface-hover";
|
|
17
|
-
readonly destructive: "bg-tollerud-error text-white border-tollerud-error hover:shadow-[0_0_12px_rgba(239,68,68,0.3)]";
|
|
18
|
-
readonly terminal: "font-mono text-tollerud-yellow border-[rgba(255,255,0,0.25)] bg-transparent before:content-[\"❯_\"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(255,255,0,0.05)]";
|
|
19
|
-
};
|
|
20
|
-
declare const sizes: {
|
|
21
|
-
readonly sm: "px-3 py-1 text-sm";
|
|
22
|
-
readonly md: "px-4 py-2 text-base";
|
|
23
|
-
readonly lg: "px-6 py-3 text-lg";
|
|
24
|
-
};
|
|
25
|
-
interface ButtonVariantProps {
|
|
26
|
-
variant?: keyof typeof variants;
|
|
27
|
-
size?: keyof typeof sizes;
|
|
28
|
-
}
|
|
29
|
-
declare function buttonVariants({ variant, size, className }?: ButtonVariantProps & {
|
|
30
|
-
className?: string;
|
|
31
|
-
}): string;
|
|
32
|
-
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariantProps {
|
|
33
|
-
/** Render as the single child element (e.g. a `<Link>`) instead of a `<button>`, merging props and styles onto it. */
|
|
34
|
-
asChild?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
37
|
-
|
|
38
|
-
declare const toneStyles: {
|
|
39
|
-
readonly default: {
|
|
40
|
-
readonly wrapper: "border-tollerud-border bg-tollerud-surface-raised";
|
|
41
|
-
readonly icon: "text-tollerud-text-muted";
|
|
42
|
-
};
|
|
43
|
-
readonly accent: {
|
|
44
|
-
readonly wrapper: "border-tollerud-yellow/30 bg-tollerud-yellow/5";
|
|
45
|
-
readonly icon: "text-tollerud-yellow";
|
|
46
|
-
};
|
|
47
|
-
readonly info: {
|
|
48
|
-
readonly wrapper: "border-blue-500/30 bg-blue-500/5";
|
|
49
|
-
readonly icon: "text-blue-400";
|
|
50
|
-
};
|
|
51
|
-
readonly success: {
|
|
52
|
-
readonly wrapper: "border-green-500/30 bg-green-500/5";
|
|
53
|
-
readonly icon: "text-green-400";
|
|
54
|
-
};
|
|
55
|
-
readonly error: {
|
|
56
|
-
readonly wrapper: "border-red-500/30 bg-red-500/5";
|
|
57
|
-
readonly icon: "text-red-400";
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
61
|
-
tone?: keyof typeof toneStyles;
|
|
62
|
-
title?: string;
|
|
63
|
-
icon?: React.ReactNode;
|
|
64
|
-
}
|
|
65
|
-
declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
|
|
67
|
-
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
68
|
-
accent?: boolean;
|
|
69
|
-
density?: 'comfortable' | 'compact';
|
|
70
|
-
}
|
|
71
|
-
declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
|
|
72
|
-
|
|
73
|
-
declare const badgeVariants: {
|
|
74
|
-
readonly default: "bg-tollerud-noir-700 text-tollerud-text-secondary";
|
|
75
|
-
readonly accent: "bg-tollerud-yellow/15 text-tollerud-yellow";
|
|
76
|
-
readonly success: "bg-tollerud-success/15 text-tollerud-success";
|
|
77
|
-
readonly error: "bg-tollerud-error/15 text-tollerud-error";
|
|
78
|
-
readonly info: "bg-tollerud-info/15 text-tollerud-info";
|
|
79
|
-
readonly warning: "bg-tollerud-yellow/15 text-tollerud-warning";
|
|
80
|
-
};
|
|
81
|
-
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
82
|
-
variant?: keyof typeof badgeVariants;
|
|
83
|
-
}
|
|
84
|
-
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
85
|
-
|
|
86
|
-
type Status = 'online' | 'offline' | 'warning' | 'idle';
|
|
87
|
-
interface StatusDotProps extends HTMLAttributes<HTMLSpanElement> {
|
|
88
|
-
status?: Status;
|
|
89
|
-
label?: string;
|
|
90
|
-
/** Disable the pulsing animation */
|
|
91
|
-
noPulse?: boolean;
|
|
92
|
-
}
|
|
93
|
-
declare const StatusDot: react.ForwardRefExoticComponent<StatusDotProps & react.RefAttributes<HTMLSpanElement>>;
|
|
94
|
-
|
|
95
|
-
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
96
|
-
label?: string;
|
|
97
|
-
error?: string;
|
|
98
|
-
}
|
|
99
|
-
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
100
|
-
|
|
101
|
-
interface CodeBlockProps extends HTMLAttributes<HTMLPreElement> {
|
|
102
|
-
/** Optional string content to render inside <code> tags */
|
|
103
|
-
code?: string;
|
|
104
|
-
/** When true, prepends a prompt symbol ($) before text content */
|
|
105
|
-
promptPrefix?: boolean;
|
|
106
|
-
/** When false, hides the copy-to-clipboard button (default: true) */
|
|
107
|
-
showCopy?: boolean;
|
|
108
|
-
}
|
|
109
|
-
declare const CodeBlock: react.ForwardRefExoticComponent<CodeBlockProps & react.RefAttributes<HTMLPreElement>>;
|
|
110
|
-
|
|
111
|
-
interface StatCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
112
|
-
label: string;
|
|
113
|
-
value: string | number;
|
|
114
|
-
change?: {
|
|
115
|
-
value: string;
|
|
116
|
-
direction: 'up' | 'down';
|
|
117
|
-
};
|
|
118
|
-
accent?: boolean;
|
|
119
|
-
}
|
|
120
|
-
declare const StatCard: react.ForwardRefExoticComponent<StatCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
121
|
-
|
|
122
|
-
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
123
|
-
as?: 'div' | 'section' | 'article' | 'main' | 'header' | 'footer';
|
|
124
|
-
}
|
|
125
|
-
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
|
|
126
|
-
|
|
127
|
-
type ShaderShape = "corners" | "wave" | "dots" | "truchet" | "ripple" | "blob" | "sphere";
|
|
128
|
-
type Intensity = "subtle" | "medium" | "loud";
|
|
129
|
-
type Speed = "still" | "slow" | "medium" | "fast";
|
|
130
|
-
type Grain = "none" | "soft" | "high";
|
|
131
|
-
interface NoirGlowBackgroundProps {
|
|
132
|
-
/** Extra class names for the outer positioning wrapper. */
|
|
133
|
-
className?: string;
|
|
134
|
-
/** Inline style for the outer positioning wrapper. */
|
|
135
|
-
style?: CSSProperties;
|
|
136
|
-
/** Canvas/WebGL shape. `corners` matches Tollerud.no. */
|
|
137
|
-
shape?: ShaderShape;
|
|
138
|
-
/** Visual strength of the yellow glow. */
|
|
139
|
-
intensity?: Intensity;
|
|
140
|
-
/** Ambient animation speed. */
|
|
141
|
-
speed?: Speed;
|
|
142
|
-
/** Shader grain/noise amount. */
|
|
143
|
-
grain?: Grain;
|
|
144
|
-
/** Softness/falloff of the glow blooms. */
|
|
145
|
-
softness?: number;
|
|
146
|
-
/** Background color behind the glow. */
|
|
147
|
-
colorBack?: string;
|
|
148
|
-
/** Glow colors. Defaults to the Tollerud/Tia yellow ramp. */
|
|
149
|
-
colors?: string[];
|
|
150
|
-
/** Whether to render a readable center vignette on top of the shader. */
|
|
151
|
-
preserveCenter?: boolean;
|
|
152
|
-
/** Add the grain/noise CSS overlay. */
|
|
153
|
-
noiseOverlay?: boolean;
|
|
154
|
-
/** Prefer the CSS fallback even if shaders are available. Useful for docs/static contexts. */
|
|
155
|
-
forceCssFallback?: boolean;
|
|
156
|
-
/** Disable pointer events so content above remains clickable. */
|
|
157
|
-
inert?: boolean;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* NoirGlowBackground
|
|
161
|
-
*
|
|
162
|
-
* Tia/Tollerud signature background primitive. The defaults replicate
|
|
163
|
-
* MathiasOki/tollerud-landing's `GradientBackground` component.
|
|
164
|
-
*
|
|
165
|
-
* Install dependency in consuming Next.js apps:
|
|
166
|
-
* npm install @paper-design/shaders-react
|
|
167
|
-
*
|
|
168
|
-
* The CSS fallback classes live in `globals.css` and are used during Suspense,
|
|
169
|
-
* reduced-motion contexts, or when `forceCssFallback` is true.
|
|
170
|
-
*/
|
|
171
|
-
declare function NoirGlowBackground({ className, style, shape, intensity, speed, grain, softness, colorBack, colors, preserveCenter, noiseOverlay, forceCssFallback, inert, }: NoirGlowBackgroundProps): react.JSX.Element;
|
|
172
|
-
|
|
173
|
-
interface KbdProps extends HTMLAttributes<HTMLSpanElement> {
|
|
174
|
-
/**
|
|
175
|
-
* The keys to display. Separate by + for chords.
|
|
176
|
-
* @example "⌘K", "⌘⇧S", "⌘K", "Esc"
|
|
177
|
-
*/
|
|
178
|
-
keys: string | string[];
|
|
179
|
-
/** Small variant for inline use */
|
|
180
|
-
size?: 'sm' | 'md';
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Keyboard shortcut chip — inspired by Raycast shortcut badges.
|
|
184
|
-
*
|
|
185
|
-
* ```tsx
|
|
186
|
-
* <Kbd keys="⌘K" />
|
|
187
|
-
* <Kbd keys={["⌘", "⇧", "S"]} />
|
|
188
|
-
* <Kbd keys="Esc" size="sm" />
|
|
189
|
-
* ```
|
|
190
|
-
*/
|
|
191
|
-
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLSpanElement>>;
|
|
192
|
-
|
|
193
|
-
interface ActionItem {
|
|
194
|
-
/** Unique ID */
|
|
195
|
-
id: string;
|
|
196
|
-
/** Label text */
|
|
197
|
-
label: string;
|
|
198
|
-
/** Subtitle / description */
|
|
199
|
-
description?: string;
|
|
200
|
-
/** Optional icon element */
|
|
201
|
-
icon?: React.ReactNode;
|
|
202
|
-
/** Keyboard shortcut */
|
|
203
|
-
shortcut?: string | string[];
|
|
204
|
-
/** Group this item belongs to */
|
|
205
|
-
group?: string;
|
|
206
|
-
/** When true, item is disabled */
|
|
207
|
-
disabled?: boolean;
|
|
208
|
-
/** Selection callback */
|
|
209
|
-
onSelect?: () => void;
|
|
210
|
-
}
|
|
211
|
-
interface ActionRowProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onSelect'> {
|
|
212
|
-
/** Action data */
|
|
213
|
-
action: ActionItem;
|
|
214
|
-
/** Whether this row is currently highlighted (keyboard navigation) */
|
|
215
|
-
highlighted?: boolean;
|
|
216
|
-
/** Whether to show the shortcut */
|
|
217
|
-
showShortcut?: boolean;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Action row — a single command/action item in a list or command menu.
|
|
221
|
-
* Inspired by Raycast's compact action layout.
|
|
222
|
-
*/
|
|
223
|
-
declare const ActionRow: react.ForwardRefExoticComponent<ActionRowProps & react.RefAttributes<HTMLButtonElement>>;
|
|
224
|
-
|
|
225
|
-
interface CommandGroup {
|
|
226
|
-
/** Group label (e.g. "Servers", "Actions") */
|
|
227
|
-
label: string;
|
|
228
|
-
/** Items in this group */
|
|
229
|
-
items: ActionItem[];
|
|
230
|
-
}
|
|
231
|
-
interface CommandMenuProps {
|
|
232
|
-
/** Whether the menu is open */
|
|
233
|
-
open: boolean;
|
|
234
|
-
/** Called when menu should close */
|
|
235
|
-
onOpenChange: (open: boolean) => void;
|
|
236
|
-
/** Command groups to display */
|
|
237
|
-
groups: CommandGroup[];
|
|
238
|
-
/** Placeholder text for the search input */
|
|
239
|
-
placeholder?: string;
|
|
240
|
-
/** Empty state message when no results */
|
|
241
|
-
emptyMessage?: string;
|
|
242
|
-
/** Custom class for the overlay */
|
|
243
|
-
className?: string;
|
|
244
|
-
/** Keyboard shortcut to toggle (default: "⌘K") */
|
|
245
|
-
toggleShortcut?: string;
|
|
246
|
-
/** Custom search filter override. Return filtered groups. */
|
|
247
|
-
filter?: (query: string, groups: CommandGroup[]) => CommandGroup[];
|
|
248
|
-
/** Callback when an action runs */
|
|
249
|
-
onAction?: (action: ActionItem) => void;
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Command palette — a Raycast-inspired global command menu.
|
|
253
|
-
*
|
|
254
|
-
* ```tsx
|
|
255
|
-
* const [open, setOpen] = useState(false)
|
|
256
|
-
*
|
|
257
|
-
* <CommandMenu
|
|
258
|
-
* open={open}
|
|
259
|
-
* onOpenChange={setOpen}
|
|
260
|
-
* groups={[
|
|
261
|
-
* {
|
|
262
|
-
* label: 'Servers',
|
|
263
|
-
* items: [
|
|
264
|
-
* { id: 'emma', label: 'Emma', icon: <Server />, onSelect: () => {} },
|
|
265
|
-
* ],
|
|
266
|
-
* },
|
|
267
|
-
* ]}
|
|
268
|
-
* />
|
|
269
|
-
* ```
|
|
270
|
-
*/
|
|
271
|
-
declare const CommandMenu: react.ForwardRefExoticComponent<CommandMenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
272
|
-
|
|
273
|
-
interface ServiceHealthCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
274
|
-
/** Service name */
|
|
275
|
-
service: string;
|
|
276
|
-
/** Health status */
|
|
277
|
-
status?: Status;
|
|
278
|
-
/** Uptime string (e.g. '14d 3h') */
|
|
279
|
-
uptime?: string;
|
|
280
|
-
/** Response time in ms */
|
|
281
|
-
responseTime?: string;
|
|
282
|
-
/** Current version */
|
|
283
|
-
version?: string;
|
|
284
|
-
/** Whether the card is in a loading state */
|
|
285
|
-
loading?: boolean;
|
|
286
|
-
}
|
|
287
|
-
declare const ServiceHealthCard: react.ForwardRefExoticComponent<ServiceHealthCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
288
|
-
|
|
289
|
-
interface HostCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
290
|
-
/** Hostname */
|
|
291
|
-
hostname: string;
|
|
292
|
-
/** IP address */
|
|
293
|
-
ip?: string;
|
|
294
|
-
/** Status */
|
|
295
|
-
status?: Status;
|
|
296
|
-
/** CPU load (e.g. '23%') */
|
|
297
|
-
cpu?: string;
|
|
298
|
-
/** Memory usage (e.g. '6.2/16 GB') */
|
|
299
|
-
memory?: string;
|
|
300
|
-
/** Disk usage (e.g. '45%') */
|
|
301
|
-
disk?: string;
|
|
302
|
-
/** Uptime */
|
|
303
|
-
uptime?: string;
|
|
304
|
-
/** Number of containers running */
|
|
305
|
-
containers?: number;
|
|
306
|
-
/** Whether the card is loading */
|
|
307
|
-
loading?: boolean;
|
|
308
|
-
}
|
|
309
|
-
declare const HostCard: react.ForwardRefExoticComponent<HostCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
310
|
-
|
|
311
|
-
interface StackService {
|
|
312
|
-
name: string;
|
|
313
|
-
status: Status;
|
|
314
|
-
}
|
|
315
|
-
interface DockerStackCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
316
|
-
/** Stack name */
|
|
317
|
-
name: string;
|
|
318
|
-
/** Services in the stack */
|
|
319
|
-
services: StackService[];
|
|
320
|
-
/** Path to compose file */
|
|
321
|
-
composePath?: string;
|
|
322
|
-
/** Whether the card is loading */
|
|
323
|
-
loading?: boolean;
|
|
324
|
-
}
|
|
325
|
-
declare const DockerStackCard: react.ForwardRefExoticComponent<DockerStackCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
326
|
-
|
|
327
|
-
type IncidentSeverity = 'critical' | 'high' | 'medium' | 'low' | 'info';
|
|
328
|
-
interface IncidentCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
329
|
-
/** Incident title */
|
|
330
|
-
title: string;
|
|
331
|
-
/** Severity level */
|
|
332
|
-
severity: IncidentSeverity;
|
|
333
|
-
/** Timestamp string */
|
|
334
|
-
timestamp: string;
|
|
335
|
-
/** Description / detail */
|
|
336
|
-
description?: string;
|
|
337
|
-
/** Service name affected */
|
|
338
|
-
service?: string;
|
|
339
|
-
/** Whether acknowledged */
|
|
340
|
-
acknowledged?: boolean;
|
|
341
|
-
/** Whether the card is loading */
|
|
342
|
-
loading?: boolean;
|
|
343
|
-
}
|
|
344
|
-
declare const IncidentCard: react.ForwardRefExoticComponent<IncidentCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
345
|
-
|
|
346
|
-
type ApprovalState = 'pending' | 'approved' | 'rejected';
|
|
347
|
-
interface ApprovalCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
348
|
-
/** Action being approved */
|
|
349
|
-
action: string;
|
|
350
|
-
/** Description of what will happen */
|
|
351
|
-
description?: string;
|
|
352
|
-
/** Source (e.g. 'Emma → backup.sh') */
|
|
353
|
-
source?: string;
|
|
354
|
-
/** Current approval state */
|
|
355
|
-
state?: ApprovalState;
|
|
356
|
-
/** Timestamp of the request */
|
|
357
|
-
timestamp?: string;
|
|
358
|
-
/** Called when user approves */
|
|
359
|
-
onApprove?: () => void;
|
|
360
|
-
/** Called when user rejects */
|
|
361
|
-
onReject?: () => void;
|
|
362
|
-
/** Whether actions are disabled */
|
|
363
|
-
disabled?: boolean;
|
|
364
|
-
/** Whether the card is loading */
|
|
365
|
-
loading?: boolean;
|
|
366
|
-
}
|
|
367
|
-
declare const ApprovalCard: react.ForwardRefExoticComponent<ApprovalCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
368
|
-
|
|
369
|
-
interface BackupJob {
|
|
370
|
-
name: string;
|
|
371
|
-
status: Status;
|
|
372
|
-
lastRun?: string;
|
|
373
|
-
nextRun?: string;
|
|
374
|
-
size?: string;
|
|
375
|
-
target?: string;
|
|
376
|
-
}
|
|
377
|
-
interface BackupStatusPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
378
|
-
/** List of backup jobs */
|
|
379
|
-
jobs: BackupJob[];
|
|
380
|
-
/** Total size of all backups */
|
|
381
|
-
totalSize?: string;
|
|
382
|
-
/** Last full backup timestamp */
|
|
383
|
-
lastFullBackup?: string;
|
|
384
|
-
/** Whether the panel is loading */
|
|
385
|
-
loading?: boolean;
|
|
386
|
-
}
|
|
387
|
-
declare const BackupStatusPanel: react.ForwardRefExoticComponent<BackupStatusPanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
388
|
-
|
|
389
|
-
interface TimelineItemData {
|
|
390
|
-
id: string;
|
|
391
|
-
/** Timestamp label */
|
|
392
|
-
time: string;
|
|
393
|
-
/** Title/headline of the event */
|
|
394
|
-
title: string;
|
|
395
|
-
/** Description */
|
|
396
|
-
description?: string;
|
|
397
|
-
/** Status indicator dot */
|
|
398
|
-
status?: Status;
|
|
399
|
-
/** Optional icon to replace dot */
|
|
400
|
-
icon?: ReactNode;
|
|
401
|
-
/** Optional metadata badges */
|
|
402
|
-
meta?: string[];
|
|
403
|
-
}
|
|
404
|
-
interface TimelineProps extends HTMLAttributes<HTMLDivElement> {
|
|
405
|
-
/** Timeline events */
|
|
406
|
-
items: TimelineItemData[];
|
|
407
|
-
/** Whether items are active (show animated dot pulse) */
|
|
408
|
-
active?: boolean;
|
|
409
|
-
/** Whether the timeline is loading */
|
|
410
|
-
loading?: boolean;
|
|
411
|
-
}
|
|
412
|
-
declare const Timeline: react.ForwardRefExoticComponent<TimelineProps & react.RefAttributes<HTMLDivElement>>;
|
|
413
|
-
|
|
414
|
-
interface AlertItem {
|
|
415
|
-
id: string;
|
|
416
|
-
title: string;
|
|
417
|
-
severity: IncidentSeverity;
|
|
418
|
-
timestamp: string;
|
|
419
|
-
description?: string;
|
|
420
|
-
service?: string;
|
|
421
|
-
acknowledged?: boolean;
|
|
422
|
-
}
|
|
423
|
-
interface AlertInboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
424
|
-
alerts: AlertItem[];
|
|
425
|
-
filterSeverity?: IncidentSeverity | '';
|
|
426
|
-
onAcknowledge?: (id: string) => void;
|
|
427
|
-
loading?: boolean;
|
|
428
|
-
emptyMessage?: string;
|
|
429
|
-
}
|
|
430
|
-
declare const AlertInbox: react.ForwardRefExoticComponent<AlertInboxProps & react.RefAttributes<HTMLDivElement>>;
|
|
431
|
-
|
|
432
|
-
type RollbackStepStatus = 'pending' | 'running' | 'success' | 'failed' | 'skipped';
|
|
433
|
-
interface RollbackStep {
|
|
434
|
-
id: string;
|
|
435
|
-
label: string;
|
|
436
|
-
description?: string;
|
|
437
|
-
status: RollbackStepStatus;
|
|
438
|
-
}
|
|
439
|
-
interface RollbackPlanProps extends HTMLAttributes<HTMLDivElement> {
|
|
440
|
-
/** Name/identifier for the plan */
|
|
441
|
-
name: string;
|
|
442
|
-
/** Rollback steps */
|
|
443
|
-
steps: RollbackStep[];
|
|
444
|
-
/** Whether the plan is executing */
|
|
445
|
-
executing?: boolean;
|
|
446
|
-
/** Whether the plan is loading */
|
|
447
|
-
loading?: boolean;
|
|
448
|
-
}
|
|
449
|
-
declare const RollbackPlan: react.ForwardRefExoticComponent<RollbackPlanProps & react.RefAttributes<HTMLDivElement>>;
|
|
450
|
-
|
|
451
|
-
interface DiffLine {
|
|
452
|
-
/** Diff content */
|
|
453
|
-
text: string;
|
|
454
|
-
/** Change type */
|
|
455
|
-
type: 'add' | 'remove' | 'context';
|
|
456
|
-
/** Line number in original */
|
|
457
|
-
oldLine?: number;
|
|
458
|
-
/** Line number in new */
|
|
459
|
-
newLine?: number;
|
|
460
|
-
}
|
|
461
|
-
interface ActionDiffProps extends HTMLAttributes<HTMLDivElement> {
|
|
462
|
-
/** Diff lines */
|
|
463
|
-
lines: DiffLine[];
|
|
464
|
-
/** File/label name */
|
|
465
|
-
label?: string;
|
|
466
|
-
/** View mode */
|
|
467
|
-
view?: 'unified' | 'side-by-side';
|
|
468
|
-
/** Whether the diff is loading */
|
|
469
|
-
loading?: boolean;
|
|
470
|
-
}
|
|
471
|
-
declare const ActionDiff: react.ForwardRefExoticComponent<ActionDiffProps & react.RefAttributes<HTMLDivElement>>;
|
|
472
|
-
|
|
473
|
-
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'trace';
|
|
474
|
-
interface LogLine {
|
|
475
|
-
/** Line content */
|
|
476
|
-
text: string;
|
|
477
|
-
/** Log level for color coding */
|
|
478
|
-
level?: LogLevel;
|
|
479
|
-
/** Timestamp string (optional) */
|
|
480
|
-
timestamp?: string;
|
|
481
|
-
/** Source/logger name */
|
|
482
|
-
source?: string;
|
|
483
|
-
}
|
|
484
|
-
interface LogViewerProps extends HTMLAttributes<HTMLDivElement> {
|
|
485
|
-
/** Log lines to display */
|
|
486
|
-
lines: LogLine[];
|
|
487
|
-
/** Maximum visible lines (for performance) */
|
|
488
|
-
maxLines?: number;
|
|
489
|
-
/** Show line numbers */
|
|
490
|
-
showLineNumbers?: boolean;
|
|
491
|
-
/** Show timestamps */
|
|
492
|
-
showTimestamps?: boolean;
|
|
493
|
-
/** Whether to auto-scroll (follow new content) */
|
|
494
|
-
follow?: boolean;
|
|
495
|
-
/** Enable search */
|
|
496
|
-
searchable?: boolean;
|
|
497
|
-
/** Height of the viewer */
|
|
498
|
-
height?: string;
|
|
499
|
-
/** Whether the viewer is loading */
|
|
500
|
-
loading?: boolean;
|
|
501
|
-
}
|
|
502
|
-
declare const LogViewer: react.ForwardRefExoticComponent<LogViewerProps & react.RefAttributes<HTMLDivElement>>;
|
|
503
|
-
|
|
504
|
-
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
505
|
-
label?: string;
|
|
506
|
-
error?: string;
|
|
507
|
-
}
|
|
508
|
-
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
509
|
-
|
|
510
|
-
interface SelectOption {
|
|
511
|
-
value: string;
|
|
512
|
-
label: string;
|
|
513
|
-
}
|
|
514
|
-
interface SelectProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
515
|
-
label?: string;
|
|
516
|
-
error?: string;
|
|
517
|
-
placeholder?: string;
|
|
518
|
-
options?: SelectOption[];
|
|
519
|
-
value?: string;
|
|
520
|
-
onChange?: (value: string) => void;
|
|
521
|
-
}
|
|
522
|
-
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>>;
|
|
523
|
-
|
|
524
|
-
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
525
|
-
label?: string;
|
|
526
|
-
}
|
|
527
|
-
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
528
|
-
|
|
529
|
-
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
530
|
-
label?: string;
|
|
531
|
-
}
|
|
532
|
-
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
|
533
|
-
|
|
534
|
-
interface RadioGroupProps {
|
|
535
|
-
/** Group label */
|
|
536
|
-
label?: string;
|
|
537
|
-
/** Error message */
|
|
538
|
-
error?: string;
|
|
539
|
-
children?: React.ReactNode;
|
|
540
|
-
className?: string;
|
|
541
|
-
}
|
|
542
|
-
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
543
|
-
interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
544
|
-
label?: string;
|
|
545
|
-
}
|
|
546
|
-
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
|
|
547
|
-
|
|
548
|
-
type FooterLabels = {
|
|
549
|
-
/** Text for the tollerud.no link (e.g. "A Tollerud Project"). */
|
|
550
|
-
tollerudProject: string;
|
|
551
|
-
/**
|
|
552
|
-
* Optional middle segment after the link, before the rights line.
|
|
553
|
-
* Example for Advania: `"for Advania Norge AS."`
|
|
554
|
-
*/
|
|
555
|
-
attribution?: string;
|
|
556
|
-
allRightsReserved: string;
|
|
557
|
-
};
|
|
558
|
-
type FooterProps = {
|
|
559
|
-
labels?: Partial<FooterLabels>;
|
|
560
|
-
/** Layout behavior: responsive keeps mobile-first stacking, row forces horizontal layout. */
|
|
561
|
-
layout?: 'responsive' | 'row';
|
|
562
|
-
/** Merged onto <footer>. Use for extra layout, padding, etc. */
|
|
563
|
-
className?: string;
|
|
564
|
-
/** Merged onto <footer> (wins over conflicting backgroundColor from classes when needed). */
|
|
565
|
-
style?: CSSProperties;
|
|
566
|
-
/**
|
|
567
|
-
* When true, skips all default surface styling so className/style fully control the bar
|
|
568
|
-
* (avoids fighting default background/border).
|
|
569
|
-
*/
|
|
570
|
-
unstyled?: boolean;
|
|
571
|
-
/** When true, uses accent (yellow) surface instead of neutral dark. */
|
|
572
|
-
accent?: boolean;
|
|
573
|
-
classNameInner?: string;
|
|
574
|
-
classNameLogo?: string;
|
|
575
|
-
classNameText?: string;
|
|
576
|
-
classNameLink?: string;
|
|
577
|
-
};
|
|
578
|
-
declare function Footer({ labels, layout, className, style, unstyled, accent, classNameInner, classNameLogo, classNameText, classNameLink, }: FooterProps): ReactElement;
|
|
579
|
-
|
|
580
|
-
declare const Dialog: react.FC<DialogPrimitive.DialogProps>;
|
|
581
|
-
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
582
|
-
declare const DialogPortal: react.FC<DialogPrimitive.DialogPortalProps>;
|
|
583
|
-
declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
584
|
-
declare const DialogOverlay: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
585
|
-
declare const DialogContent: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
586
|
-
declare const DialogHeader: {
|
|
587
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
588
|
-
displayName: string;
|
|
589
|
-
};
|
|
590
|
-
declare const DialogFooter: {
|
|
591
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
592
|
-
displayName: string;
|
|
593
|
-
};
|
|
594
|
-
declare const DialogTitle: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
595
|
-
declare const DialogDescription: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
596
|
-
|
|
597
|
-
declare const TooltipProvider: react.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
598
|
-
declare function Tooltip({ children, defaultOpen, open: controlledOpen, onOpenChange: controlledOnOpenChange, ...props }: react.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): react.JSX.Element;
|
|
599
|
-
declare namespace Tooltip {
|
|
600
|
-
var displayName: string;
|
|
601
|
-
}
|
|
602
|
-
declare const TooltipTrigger: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
603
|
-
declare const TooltipContent: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
604
|
-
|
|
605
|
-
declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & react.RefAttributes<HTMLDivElement>>;
|
|
606
|
-
declare const TabsList: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
607
|
-
declare const TabsTrigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
608
|
-
declare const TabsContent: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
609
|
-
|
|
610
|
-
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
611
|
-
|
|
612
|
-
declare const Progress: react.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
613
|
-
|
|
614
|
-
type TollerudToasterProps = ToasterProps & {
|
|
615
|
-
/** Toast color theme. Wire to your app theme when you have one. */
|
|
616
|
-
theme?: ToasterProps['theme'];
|
|
617
|
-
};
|
|
618
|
-
declare const Toaster: ({ theme, ...props }: TollerudToasterProps) => react.JSX.Element;
|
|
619
|
-
|
|
620
|
-
interface EmptyProps extends HTMLAttributes<HTMLDivElement> {
|
|
621
|
-
}
|
|
622
|
-
declare const Empty: react.ForwardRefExoticComponent<EmptyProps & react.RefAttributes<HTMLDivElement>>;
|
|
623
|
-
declare const EmptyHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
624
|
-
declare const EmptyIcon: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
625
|
-
declare const EmptyTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & react.RefAttributes<HTMLHeadingElement>>;
|
|
626
|
-
declare const EmptyDescription: react.ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & react.RefAttributes<HTMLParagraphElement>>;
|
|
627
|
-
declare const EmptyContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
628
|
-
|
|
629
|
-
declare const DropdownMenu: react.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
630
|
-
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
631
|
-
declare const DropdownMenuContent: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
632
|
-
declare const DropdownMenuItem: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
633
|
-
inset?: boolean;
|
|
634
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
635
|
-
declare const DropdownMenuSeparator: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
636
|
-
declare const DropdownMenuLabel: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
637
|
-
inset?: boolean;
|
|
638
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
639
|
-
|
|
640
|
-
type SheetSide = 'left' | 'right';
|
|
641
|
-
interface SheetProps {
|
|
642
|
-
open?: boolean;
|
|
643
|
-
onOpenChange?: (open: boolean) => void;
|
|
644
|
-
children: ReactNode;
|
|
645
|
-
}
|
|
646
|
-
declare const Sheet: ({ open, onOpenChange, children }: SheetProps) => react.JSX.Element;
|
|
647
|
-
declare const SheetTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
648
|
-
declare const SheetClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
649
|
-
interface SheetContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
650
|
-
side?: SheetSide;
|
|
651
|
-
}
|
|
652
|
-
declare const SheetContent: react.ForwardRefExoticComponent<SheetContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
653
|
-
declare const SheetHeader: ({ className, ...props }: {
|
|
654
|
-
className?: string;
|
|
655
|
-
children?: ReactNode;
|
|
656
|
-
}) => react.JSX.Element;
|
|
657
|
-
declare const SheetTitle: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
658
|
-
declare const SheetDescription: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
659
|
-
|
|
660
|
-
interface Column<T> {
|
|
661
|
-
key: string;
|
|
662
|
-
label: string;
|
|
663
|
-
sortable?: boolean;
|
|
664
|
-
filterable?: boolean;
|
|
665
|
-
align?: 'left' | 'center' | 'right';
|
|
666
|
-
width?: string;
|
|
667
|
-
render?: (value: unknown, row: T) => ReactNode;
|
|
668
|
-
}
|
|
669
|
-
interface DataTableProps<T extends Record<string, unknown>> {
|
|
670
|
-
columns: Column<T>[];
|
|
671
|
-
data: T[];
|
|
672
|
-
/** Row key extractor — defaults to `row.id` or `row.key` */
|
|
673
|
-
rowKey?: keyof T | ((row: T) => string | number);
|
|
674
|
-
onRowClick?: (row: T) => void;
|
|
675
|
-
className?: string;
|
|
676
|
-
emptyMessage?: string;
|
|
677
|
-
}
|
|
678
|
-
declare const DataTable: react.ForwardRefExoticComponent<DataTableProps<Record<string, unknown>> & react.RefAttributes<HTMLDivElement>>;
|
|
679
|
-
|
|
680
|
-
interface GlowCardProps {
|
|
681
|
-
children: ReactNode;
|
|
682
|
-
className?: string;
|
|
683
|
-
/** Color of the glow. Default: accent yellow */
|
|
684
|
-
glowColor?: string;
|
|
685
|
-
/** Glow intensity (0–1). Default: 0.15 */
|
|
686
|
-
intensity?: number;
|
|
687
|
-
}
|
|
688
|
-
declare function GlowCard({ children, className, glowColor, intensity, }: GlowCardProps): react.JSX.Element;
|
|
689
|
-
|
|
690
|
-
interface BentoDashboardProps {
|
|
691
|
-
title: string;
|
|
692
|
-
hosts?: HostCardProps[];
|
|
693
|
-
metrics?: StatCardProps[];
|
|
694
|
-
services?: ServiceHealthCardProps[];
|
|
695
|
-
incidents?: {
|
|
696
|
-
title: string;
|
|
697
|
-
severity: IncidentSeverity;
|
|
698
|
-
timestamp: string;
|
|
699
|
-
service: string;
|
|
700
|
-
description?: string;
|
|
701
|
-
acknowledged?: boolean;
|
|
702
|
-
}[];
|
|
703
|
-
backupJobs?: BackupJob[];
|
|
704
|
-
className?: string;
|
|
705
|
-
/** Render the incident list footer */
|
|
706
|
-
renderIncidentFooter?: () => ReactNode;
|
|
707
|
-
}
|
|
708
|
-
declare function BentoDashboard({ title, hosts, metrics, services, incidents, className, }: BentoDashboardProps): react.JSX.Element;
|
|
709
|
-
|
|
710
|
-
interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
711
|
-
/** Layout direction */
|
|
712
|
-
orientation?: 'horizontal' | 'vertical';
|
|
713
|
-
/** Optional label rendered inline (horizontal orientation only) */
|
|
714
|
-
label?: React.ReactNode;
|
|
715
|
-
}
|
|
716
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
717
|
-
|
|
718
|
-
declare const pillVariants: {
|
|
719
|
-
readonly outline: "bg-transparent border border-tollerud-border text-tollerud-text-secondary";
|
|
720
|
-
readonly solid: "bg-tollerud-surface-raised text-tollerud-text-primary";
|
|
721
|
-
readonly accent: "bg-tollerud-yellow/15 border border-tollerud-yellow/30 text-tollerud-yellow";
|
|
722
|
-
};
|
|
723
|
-
interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
724
|
-
variant?: keyof typeof pillVariants;
|
|
725
|
-
}
|
|
726
|
-
declare const Pill: react.ForwardRefExoticComponent<PillProps & react.RefAttributes<HTMLSpanElement>>;
|
|
727
|
-
|
|
728
|
-
declare const avatarSizes: {
|
|
729
|
-
readonly sm: "h-6 w-6 text-[10px]";
|
|
730
|
-
readonly md: "h-8 w-8 text-xs";
|
|
731
|
-
readonly lg: "h-11 w-11 text-sm";
|
|
732
|
-
};
|
|
733
|
-
interface AvatarProps extends HTMLAttributes<HTMLSpanElement> {
|
|
734
|
-
/** Image source */
|
|
735
|
-
src?: string;
|
|
736
|
-
/** Accessible name / used to derive initials fallback */
|
|
737
|
-
name?: string;
|
|
738
|
-
/** Explicit fallback content (overrides derived initials) */
|
|
739
|
-
fallback?: React.ReactNode;
|
|
740
|
-
size?: keyof typeof avatarSizes;
|
|
741
|
-
}
|
|
742
|
-
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
|
|
743
|
-
interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
744
|
-
/** Maximum avatars to render before collapsing into a "+N" overflow indicator */
|
|
745
|
-
max?: number;
|
|
746
|
-
size?: keyof typeof avatarSizes;
|
|
747
|
-
children: React.ReactNode;
|
|
748
|
-
}
|
|
749
|
-
declare const AvatarGroup: react.ForwardRefExoticComponent<AvatarGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
750
|
-
|
|
751
|
-
interface BreadcrumbItem {
|
|
752
|
-
label: React.ReactNode;
|
|
753
|
-
href?: string;
|
|
754
|
-
onClick?: () => void;
|
|
755
|
-
}
|
|
756
|
-
interface BreadcrumbProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
757
|
-
items: BreadcrumbItem[];
|
|
758
|
-
/** Custom separator (defaults to a chevron) */
|
|
759
|
-
separator?: React.ReactNode;
|
|
760
|
-
}
|
|
761
|
-
declare const Breadcrumb: react.ForwardRefExoticComponent<BreadcrumbProps & react.RefAttributes<HTMLElement>>;
|
|
762
|
-
|
|
763
|
-
interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
|
|
764
|
-
/** Current 1-indexed page */
|
|
765
|
-
page: number;
|
|
766
|
-
/** Total number of pages */
|
|
767
|
-
pageCount: number;
|
|
768
|
-
/** Called with the next page number when the user navigates */
|
|
769
|
-
onChange: (page: number) => void;
|
|
770
|
-
/** Number of sibling pages to show on either side of the current page */
|
|
771
|
-
siblingCount?: number;
|
|
772
|
-
}
|
|
773
|
-
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
|
|
774
|
-
|
|
775
|
-
interface SegmentedOption {
|
|
776
|
-
value: string;
|
|
777
|
-
label: React.ReactNode;
|
|
778
|
-
disabled?: boolean;
|
|
779
|
-
}
|
|
780
|
-
interface SegmentedProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
781
|
-
options: SegmentedOption[];
|
|
782
|
-
value: string;
|
|
783
|
-
onChange: (value: string) => void;
|
|
784
|
-
size?: 'sm' | 'md';
|
|
785
|
-
}
|
|
786
|
-
declare const Segmented: react.ForwardRefExoticComponent<SegmentedProps & react.RefAttributes<HTMLDivElement>>;
|
|
787
|
-
|
|
788
|
-
interface StepperStep {
|
|
789
|
-
label: React.ReactNode;
|
|
790
|
-
description?: React.ReactNode;
|
|
791
|
-
}
|
|
792
|
-
interface StepperProps extends HTMLAttributes<HTMLOListElement> {
|
|
793
|
-
steps: StepperStep[];
|
|
794
|
-
/** 0-indexed current step */
|
|
795
|
-
current: number;
|
|
796
|
-
orientation?: 'horizontal' | 'vertical';
|
|
797
|
-
}
|
|
798
|
-
declare const Stepper: react.ForwardRefExoticComponent<StepperProps & react.RefAttributes<HTMLOListElement>>;
|
|
799
|
-
|
|
800
|
-
interface PanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
801
|
-
title?: React.ReactNode;
|
|
802
|
-
description?: React.ReactNode;
|
|
803
|
-
/** Content rendered on the right side of the header (actions, badges, etc.) */
|
|
804
|
-
actions?: React.ReactNode;
|
|
805
|
-
}
|
|
806
|
-
declare const Panel: react.ForwardRefExoticComponent<PanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
807
|
-
|
|
808
|
-
declare const meterTones: {
|
|
809
|
-
readonly default: "bg-tollerud-yellow";
|
|
810
|
-
readonly success: "bg-tollerud-success";
|
|
811
|
-
readonly warning: "bg-tollerud-warning";
|
|
812
|
-
readonly error: "bg-tollerud-error";
|
|
813
|
-
};
|
|
814
|
-
interface MeterProps extends HTMLAttributes<HTMLDivElement> {
|
|
815
|
-
/** Current value */
|
|
816
|
-
value: number;
|
|
817
|
-
/** Maximum value (defaults to 100) */
|
|
818
|
-
max?: number;
|
|
819
|
-
/** Optional label rendered above the bar */
|
|
820
|
-
label?: React.ReactNode;
|
|
821
|
-
/** Show the numeric value/percentage to the right of the label */
|
|
822
|
-
showValue?: boolean;
|
|
823
|
-
tone?: keyof typeof meterTones;
|
|
824
|
-
}
|
|
825
|
-
declare const Meter: react.ForwardRefExoticComponent<MeterProps & react.RefAttributes<HTMLDivElement>>;
|
|
826
|
-
|
|
827
|
-
interface FormRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
828
|
-
label?: React.ReactNode;
|
|
829
|
-
/** Hint text rendered below the label */
|
|
830
|
-
description?: React.ReactNode;
|
|
831
|
-
error?: React.ReactNode;
|
|
832
|
-
required?: boolean;
|
|
833
|
-
/** Forwarded to the label's `htmlFor` — should match the control's `id` */
|
|
834
|
-
htmlFor?: string;
|
|
835
|
-
}
|
|
836
|
-
declare const FormRow: react.ForwardRefExoticComponent<FormRowProps & react.RefAttributes<HTMLDivElement>>;
|
|
837
|
-
|
|
838
|
-
interface PricingCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
839
|
-
name: React.ReactNode;
|
|
840
|
-
price: React.ReactNode;
|
|
841
|
-
/** Rendered after the price, e.g. "/month" */
|
|
842
|
-
period?: React.ReactNode;
|
|
843
|
-
description?: React.ReactNode;
|
|
844
|
-
features?: React.ReactNode[];
|
|
845
|
-
ctaLabel?: React.ReactNode;
|
|
846
|
-
onCtaClick?: () => void;
|
|
847
|
-
/** Visually highlights this plan as the recommended/featured option */
|
|
848
|
-
featured?: boolean;
|
|
849
|
-
/** Small label shown above the price when featured, e.g. "Most popular" */
|
|
850
|
-
badge?: React.ReactNode;
|
|
851
|
-
}
|
|
852
|
-
declare const PricingCard: react.ForwardRefExoticComponent<PricingCardProps & react.RefAttributes<HTMLDivElement>>;
|
|
853
|
-
|
|
854
|
-
interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
|
|
855
|
-
/** Allow multiple items to be open at once */
|
|
856
|
-
multiple?: boolean;
|
|
857
|
-
/** Initially open item value(s) */
|
|
858
|
-
defaultOpen?: string | string[];
|
|
859
|
-
}
|
|
860
|
-
declare const Accordion: react.ForwardRefExoticComponent<AccordionProps & react.RefAttributes<HTMLDivElement>>;
|
|
861
|
-
interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
862
|
-
value: string;
|
|
863
|
-
}
|
|
864
|
-
declare const AccordionItem: react.ForwardRefExoticComponent<AccordionItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
865
|
-
interface AccordionTriggerProps extends HTMLAttributes<HTMLButtonElement> {
|
|
866
|
-
}
|
|
867
|
-
declare const AccordionTrigger: react.ForwardRefExoticComponent<AccordionTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
868
|
-
interface AccordionContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
869
|
-
}
|
|
870
|
-
declare const AccordionContent: react.ForwardRefExoticComponent<AccordionContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
871
|
-
|
|
872
|
-
interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange'> {
|
|
873
|
-
label?: string;
|
|
874
|
-
/** Show the current numeric value next to the label */
|
|
875
|
-
showValue?: boolean;
|
|
876
|
-
onChange?: (value: number) => void;
|
|
877
|
-
}
|
|
878
|
-
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
|
|
879
|
-
|
|
880
|
-
interface PasswordInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
881
|
-
label?: string;
|
|
882
|
-
error?: string;
|
|
883
|
-
}
|
|
884
|
-
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
885
|
-
|
|
886
|
-
interface ComboboxOption {
|
|
887
|
-
value: string;
|
|
888
|
-
label: string;
|
|
889
|
-
disabled?: boolean;
|
|
890
|
-
}
|
|
891
|
-
interface ComboboxProps {
|
|
892
|
-
options: ComboboxOption[];
|
|
893
|
-
value?: string;
|
|
894
|
-
defaultValue?: string;
|
|
895
|
-
onChange?: (value: string) => void;
|
|
896
|
-
placeholder?: string;
|
|
897
|
-
label?: string;
|
|
898
|
-
error?: string;
|
|
899
|
-
/** Filter predicate, defaults to a case-insensitive substring match on the label */
|
|
900
|
-
filter?: (option: ComboboxOption, query: string) => boolean;
|
|
901
|
-
className?: string;
|
|
902
|
-
disabled?: boolean;
|
|
903
|
-
}
|
|
904
|
-
declare function Combobox({ options, value: valueProp, defaultValue, onChange, placeholder, label, error, filter, className, disabled, }: ComboboxProps): react.JSX.Element;
|
|
905
|
-
declare namespace Combobox {
|
|
906
|
-
var displayName: string;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
interface DatePickerProps {
|
|
910
|
-
value?: Date | null;
|
|
911
|
-
defaultValue?: Date | null;
|
|
912
|
-
onChange?: (date: Date | null) => void;
|
|
913
|
-
label?: string;
|
|
914
|
-
error?: string;
|
|
915
|
-
placeholder?: string;
|
|
916
|
-
/** Format a date for display in the input (defaults to locale short date) */
|
|
917
|
-
formatDate?: (date: Date) => string;
|
|
918
|
-
className?: string;
|
|
919
|
-
disabled?: boolean;
|
|
920
|
-
}
|
|
921
|
-
declare function DatePicker({ value: valueProp, defaultValue, onChange, label, error, placeholder, formatDate, className, disabled, }: DatePickerProps): react.JSX.Element;
|
|
922
|
-
declare namespace DatePicker {
|
|
923
|
-
var displayName: string;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
interface FileUploadProps {
|
|
927
|
-
label?: string;
|
|
928
|
-
description?: React.ReactNode;
|
|
929
|
-
error?: string;
|
|
930
|
-
/** Forwarded to the underlying `<input accept>` */
|
|
931
|
-
accept?: string;
|
|
932
|
-
multiple?: boolean;
|
|
933
|
-
/** Called whenever the selected file list changes */
|
|
934
|
-
onFilesChange?: (files: File[]) => void;
|
|
935
|
-
className?: string;
|
|
936
|
-
disabled?: boolean;
|
|
937
|
-
}
|
|
938
|
-
declare function FileUpload({ label, description, error, accept, multiple, onFilesChange, className, disabled, }: FileUploadProps): react.JSX.Element;
|
|
939
|
-
declare namespace FileUpload {
|
|
940
|
-
var displayName: string;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
interface TagInputProps {
|
|
944
|
-
value?: string[];
|
|
945
|
-
defaultValue?: string[];
|
|
946
|
-
onChange?: (tags: string[]) => void;
|
|
947
|
-
label?: string;
|
|
948
|
-
error?: string;
|
|
949
|
-
placeholder?: string;
|
|
950
|
-
/** Maximum number of tags allowed */
|
|
951
|
-
max?: number;
|
|
952
|
-
className?: string;
|
|
953
|
-
disabled?: boolean;
|
|
954
|
-
}
|
|
955
|
-
declare function TagInput({ value: valueProp, defaultValue, onChange, label, error, placeholder, max, className, disabled, }: TagInputProps): react.JSX.Element;
|
|
956
|
-
declare namespace TagInput {
|
|
957
|
-
var displayName: string;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, ActionDiff, type ActionDiffProps, type ActionItem, ActionRow, type ActionRowProps, Alert, AlertInbox, type AlertInboxProps, type AlertProps, ApprovalCard, type ApprovalCardProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, BackupStatusPanel, type BackupStatusPanelProps, Badge, type BadgeProps, BentoDashboard, type BentoDashboardProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariantProps, Card, type CardProps, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, type Column, Combobox, type ComboboxOption, type ComboboxProps, type CommandGroup, CommandMenu, type CommandMenuProps, Container, type ContainerProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DockerStackCard, type DockerStackCardProps, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyIcon, EmptyTitle, FileUpload, type FileUploadProps, Footer, type FooterLabels, type FooterProps, FormRow, type FormRowProps, GlowCard, type GlowCardProps, HostCard, type HostCardProps, IncidentCard, type IncidentCardProps, type IncidentSeverity, Input, type InputProps, Kbd, type KbdProps, LogViewer, type LogViewerProps, Meter, type MeterProps, NoirGlowBackground, type NoirGlowBackgroundProps, Pagination, type PaginationProps, Panel, type PanelProps, PasswordInput, type PasswordInputProps, Pill, type PillProps, PricingCard, type PricingCardProps, Progress, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RollbackPlan, type RollbackPlanProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectProps, ServiceHealthCard, type ServiceHealthCardProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger, Skeleton, Slider, type SliderProps, StatCard, type StatCardProps, type Status, StatusDot, type StatusDotProps, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, type TagInputProps, Textarea, type TextareaProps, Timeline, type TimelineItemData, type TimelineProps, Toaster, type TollerudToasterProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
|