@tapizlabs/ui 0.1.5 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +950 -8
- package/dist/index.js +2125 -149
- package/dist/index.js.map +1 -1
- package/dist/theme.css +261 -615
- package/package.json +6 -6
- package/FRAMEWORK_BOUNDARY.md +0 -47
package/dist/index.d.ts
CHANGED
|
@@ -67,7 +67,6 @@ declare const UserCheck: ({ size, className, style }: IconProps) => react.JSX.El
|
|
|
67
67
|
declare const Hash: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
68
68
|
declare const LogOut: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
69
69
|
|
|
70
|
-
declare const Alert: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
71
70
|
declare const Info: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
72
71
|
declare const CheckCircle: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
73
72
|
declare const Ban: ({ size, className, style }: IconProps) => react.JSX.Element;
|
|
@@ -175,7 +174,7 @@ declare const Icons: {
|
|
|
175
174
|
externalLink: react.JSX.Element;
|
|
176
175
|
};
|
|
177
176
|
|
|
178
|
-
type Variant$1 = "primary" | "secondary" | "danger" | "ghost" | "success" | "warning" | "info" | "muted-primary" | "outline-primary" | "outline-secondary" | "outline-danger" | "outline-success" | "link";
|
|
177
|
+
type Variant$1 = "primary" | "secondary" | "danger" | "ghost" | "success" | "warning" | "info" | "muted-primary" | "outline-primary" | "outline-secondary" | "outline-danger" | "outline-success" | "brutal" | "link";
|
|
179
178
|
type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
180
179
|
interface ButtonProps {
|
|
181
180
|
children?: ReactNode;
|
|
@@ -334,17 +333,21 @@ interface TooltipProps {
|
|
|
334
333
|
}
|
|
335
334
|
declare function Tooltip({ text, children, position, align, width, wFull }: TooltipProps): react.JSX.Element;
|
|
336
335
|
|
|
336
|
+
type CardVariant = "surface" | "raised" | "outlined" | "brutal" | "glass";
|
|
337
|
+
type CardPadding = "none" | "sm" | "md" | "lg";
|
|
337
338
|
interface CardProps {
|
|
338
339
|
children: ReactNode;
|
|
339
340
|
className?: string;
|
|
340
341
|
hover?: boolean;
|
|
341
342
|
style?: CSSProperties;
|
|
343
|
+
variant?: CardVariant;
|
|
344
|
+
padding?: CardPadding;
|
|
342
345
|
}
|
|
343
346
|
interface CardSectionProps {
|
|
344
347
|
children: ReactNode;
|
|
345
348
|
className?: string;
|
|
346
349
|
}
|
|
347
|
-
declare function Card({ children, className, hover, style }: CardProps): react.JSX.Element;
|
|
350
|
+
declare function Card({ children, className, hover, style, variant, padding, }: CardProps): react.JSX.Element;
|
|
348
351
|
declare function CardHeader({ children, className }: CardSectionProps): react.JSX.Element;
|
|
349
352
|
declare function CardBody({ children, className }: CardSectionProps): react.JSX.Element;
|
|
350
353
|
|
|
@@ -366,7 +369,7 @@ declare function SkeletonTable({ rows, cols }: {
|
|
|
366
369
|
}): react.JSX.Element;
|
|
367
370
|
declare function SkeletonPageHeader(): react.JSX.Element;
|
|
368
371
|
|
|
369
|
-
type Variant = "default" | "success" | "warning" | "danger" | "muted";
|
|
372
|
+
type Variant = "default" | "success" | "warning" | "danger" | "info" | "muted";
|
|
370
373
|
interface BadgeProps {
|
|
371
374
|
children: ReactNode;
|
|
372
375
|
variant?: Variant;
|
|
@@ -406,11 +409,47 @@ declare function InfoBanner(props: InfoBannerProps): react.JSX.Element;
|
|
|
406
409
|
interface PageHeaderProps {
|
|
407
410
|
title: string;
|
|
408
411
|
subtitle?: string;
|
|
412
|
+
description?: ReactNode;
|
|
409
413
|
action?: ReactNode;
|
|
414
|
+
actions?: ReactNode;
|
|
415
|
+
icon?: ReactNode;
|
|
416
|
+
banner?: ReactNode;
|
|
417
|
+
breadcrumbs?: ReactNode;
|
|
418
|
+
meta?: ReactNode;
|
|
419
|
+
className?: string;
|
|
420
|
+
variant?: "default" | "enterprise" | "brutal";
|
|
421
|
+
}
|
|
422
|
+
declare function PageHeader({ title, subtitle, description, action, actions, icon, banner, breadcrumbs, meta, className, variant, }: PageHeaderProps): react.JSX.Element;
|
|
423
|
+
|
|
424
|
+
type MetricTrendTone = "positive" | "negative" | "neutral" | "warning";
|
|
425
|
+
interface MetricCardProps {
|
|
426
|
+
label: ReactNode;
|
|
427
|
+
value: ReactNode;
|
|
428
|
+
description?: ReactNode;
|
|
410
429
|
icon?: ReactNode;
|
|
430
|
+
trend?: ReactNode;
|
|
431
|
+
trendTone?: MetricTrendTone;
|
|
432
|
+
className?: string;
|
|
433
|
+
variant?: "surface" | "raised" | "brutal";
|
|
434
|
+
}
|
|
435
|
+
declare function MetricCard({ label, value, description, icon, trend, trendTone, className, variant, }: MetricCardProps): react.JSX.Element;
|
|
436
|
+
|
|
437
|
+
interface StatGridProps {
|
|
438
|
+
children: ReactNode;
|
|
439
|
+
className?: string;
|
|
440
|
+
minColumnWidth?: string;
|
|
441
|
+
}
|
|
442
|
+
declare function StatGrid({ children, className, minColumnWidth }: StatGridProps): react.JSX.Element;
|
|
443
|
+
|
|
444
|
+
interface SectionCardProps {
|
|
445
|
+
title?: ReactNode;
|
|
446
|
+
eyebrow?: ReactNode;
|
|
447
|
+
description?: ReactNode;
|
|
448
|
+
action?: ReactNode;
|
|
449
|
+
children: ReactNode;
|
|
411
450
|
className?: string;
|
|
412
451
|
}
|
|
413
|
-
declare function
|
|
452
|
+
declare function SectionCard({ title, eyebrow, description, action, children, className }: SectionCardProps): react.JSX.Element;
|
|
414
453
|
|
|
415
454
|
interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
416
455
|
value: string;
|
|
@@ -455,7 +494,7 @@ interface SectionTitleProps {
|
|
|
455
494
|
}
|
|
456
495
|
declare function SectionTitle({ children, className }: SectionTitleProps): react.JSX.Element;
|
|
457
496
|
|
|
458
|
-
type StatusBadgeVariant = "default" | "active" | "inactive" | "warning" | "success" | "danger" | "pending";
|
|
497
|
+
type StatusBadgeVariant = "default" | "active" | "inactive" | "warning" | "success" | "danger" | "info" | "pending";
|
|
459
498
|
interface StatusBadgeProps {
|
|
460
499
|
label: ReactNode;
|
|
461
500
|
variant?: StatusBadgeVariant;
|
|
@@ -524,6 +563,8 @@ interface ServerSort {
|
|
|
524
563
|
onSort: (field: string) => void;
|
|
525
564
|
}
|
|
526
565
|
|
|
566
|
+
type DataTableDensity = "compact" | "comfortable" | "spacious";
|
|
567
|
+
type DataTableVariant = "default" | "enterprise" | "brutal";
|
|
527
568
|
interface DataTableProps<T> {
|
|
528
569
|
data: T[];
|
|
529
570
|
columns: Column<T>[];
|
|
@@ -559,6 +600,15 @@ interface DataTableProps<T> {
|
|
|
559
600
|
* each row to a card via this function (keyed by `rowKey(row)`).
|
|
560
601
|
*/
|
|
561
602
|
mobileCard?: (row: T) => ReactNode;
|
|
603
|
+
/** Visual density of header and cells. Defaults to comfortable. */
|
|
604
|
+
density?: DataTableDensity;
|
|
605
|
+
/** Enterprise adds stronger surface treatment; brutal adds 2px border + hard shadow. */
|
|
606
|
+
variant?: DataTableVariant;
|
|
607
|
+
/** Makes the table header sticky inside the scroll container. */
|
|
608
|
+
stickyHeader?: boolean;
|
|
609
|
+
/** Applies token-based zebra striping. Defaults to true. */
|
|
610
|
+
striped?: boolean;
|
|
611
|
+
className?: string;
|
|
562
612
|
}
|
|
563
613
|
/**
|
|
564
614
|
* Generic, accessible, client-sortable table.
|
|
@@ -571,6 +621,898 @@ interface DataTableProps<T> {
|
|
|
571
621
|
* - Optional `rowActions`, `serverSort`, `footer`, and `mobileCard` props are
|
|
572
622
|
* all additive — existing usages continue to work with zero changes.
|
|
573
623
|
*/
|
|
574
|
-
declare function DataTable<T>({ data, columns, rowKey, isLoading, emptyState, onRowClick, loadingRows, rowActions, serverSort, footer, mobileCard, }: DataTableProps<T>): react.JSX.Element;
|
|
624
|
+
declare function DataTable<T>({ data, columns, rowKey, isLoading, emptyState, onRowClick, loadingRows, rowActions, serverSort, footer, mobileCard, density, variant, stickyHeader, striped, className, }: DataTableProps<T>): react.JSX.Element;
|
|
625
|
+
|
|
626
|
+
interface MarketingShellProps {
|
|
627
|
+
children: ReactNode;
|
|
628
|
+
className?: string;
|
|
629
|
+
grid?: boolean;
|
|
630
|
+
noise?: boolean;
|
|
631
|
+
}
|
|
632
|
+
declare function MarketingShell({ children, className, grid, noise }: MarketingShellProps): react.JSX.Element;
|
|
633
|
+
|
|
634
|
+
interface HeroFrameProps {
|
|
635
|
+
eyebrow?: ReactNode;
|
|
636
|
+
title: ReactNode;
|
|
637
|
+
description?: ReactNode;
|
|
638
|
+
actions?: ReactNode;
|
|
639
|
+
visual?: ReactNode;
|
|
640
|
+
meta?: ReactNode;
|
|
641
|
+
className?: string;
|
|
642
|
+
}
|
|
643
|
+
declare function HeroFrame({ eyebrow, title, description, actions, visual, meta, className }: HeroFrameProps): react.JSX.Element;
|
|
644
|
+
|
|
645
|
+
interface FeatureCardProps {
|
|
646
|
+
title: ReactNode;
|
|
647
|
+
description?: ReactNode;
|
|
648
|
+
icon?: ReactNode;
|
|
649
|
+
eyebrow?: ReactNode;
|
|
650
|
+
children?: ReactNode;
|
|
651
|
+
className?: string;
|
|
652
|
+
variant?: "surface" | "brutal" | "raised";
|
|
653
|
+
}
|
|
654
|
+
declare function FeatureCard({ title, description, icon, eyebrow, children, className, variant }: FeatureCardProps): react.JSX.Element;
|
|
655
|
+
|
|
656
|
+
interface FeatureGridProps {
|
|
657
|
+
children: ReactNode;
|
|
658
|
+
className?: string;
|
|
659
|
+
}
|
|
660
|
+
declare function FeatureGrid({ children, className }: FeatureGridProps): react.JSX.Element;
|
|
661
|
+
|
|
662
|
+
interface CTASectionProps {
|
|
663
|
+
eyebrow?: ReactNode;
|
|
664
|
+
title: ReactNode;
|
|
665
|
+
description?: ReactNode;
|
|
666
|
+
actions?: ReactNode;
|
|
667
|
+
className?: string;
|
|
668
|
+
}
|
|
669
|
+
declare function CTASection({ eyebrow, title, description, actions, className }: CTASectionProps): react.JSX.Element;
|
|
670
|
+
|
|
671
|
+
interface MockupFrameProps {
|
|
672
|
+
children: ReactNode;
|
|
673
|
+
title?: ReactNode;
|
|
674
|
+
toolbar?: ReactNode;
|
|
675
|
+
className?: string;
|
|
676
|
+
}
|
|
677
|
+
declare function MockupFrame({ children, title, toolbar, className }: MockupFrameProps): react.JSX.Element;
|
|
678
|
+
|
|
679
|
+
interface ComparisonTableRow {
|
|
680
|
+
feature: ReactNode;
|
|
681
|
+
included: ReactNode;
|
|
682
|
+
alternative?: ReactNode;
|
|
683
|
+
}
|
|
684
|
+
interface ComparisonTableProps {
|
|
685
|
+
rows: ComparisonTableRow[];
|
|
686
|
+
featureHeader?: ReactNode;
|
|
687
|
+
includedHeader?: ReactNode;
|
|
688
|
+
alternativeHeader?: ReactNode;
|
|
689
|
+
className?: string;
|
|
690
|
+
}
|
|
691
|
+
declare function ComparisonTable({ rows, featureHeader, includedHeader, alternativeHeader, className }: ComparisonTableProps): react.JSX.Element;
|
|
692
|
+
|
|
693
|
+
interface AppShellProps {
|
|
694
|
+
sidebar?: ReactNode;
|
|
695
|
+
topbar?: ReactNode;
|
|
696
|
+
children: ReactNode;
|
|
697
|
+
aside?: ReactNode;
|
|
698
|
+
className?: string;
|
|
699
|
+
contentClassName?: string;
|
|
700
|
+
variant?: "default" | "grid" | "noise";
|
|
701
|
+
}
|
|
702
|
+
declare function AppShell({ sidebar, topbar, children, aside, className, contentClassName, variant }: AppShellProps): react.JSX.Element;
|
|
703
|
+
|
|
704
|
+
interface SplitPaneProps {
|
|
705
|
+
primary: ReactNode;
|
|
706
|
+
secondary: ReactNode;
|
|
707
|
+
ratio?: "50/50" | "60/40" | "70/30";
|
|
708
|
+
reverseOnMobile?: boolean;
|
|
709
|
+
className?: string;
|
|
710
|
+
}
|
|
711
|
+
declare function SplitPane({ primary, secondary, ratio, reverseOnMobile, className }: SplitPaneProps): react.JSX.Element;
|
|
712
|
+
|
|
713
|
+
interface StackProps {
|
|
714
|
+
children: ReactNode;
|
|
715
|
+
gap?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
716
|
+
direction?: "vertical" | "horizontal";
|
|
717
|
+
align?: "start" | "center" | "end" | "stretch";
|
|
718
|
+
justify?: "start" | "center" | "between" | "end";
|
|
719
|
+
wrap?: boolean;
|
|
720
|
+
className?: string;
|
|
721
|
+
}
|
|
722
|
+
declare function Stack({ children, gap, direction, align, justify, wrap, className }: StackProps): react.JSX.Element;
|
|
723
|
+
|
|
724
|
+
interface ClusterProps {
|
|
725
|
+
children: ReactNode;
|
|
726
|
+
gap?: "xs" | "sm" | "md" | "lg";
|
|
727
|
+
align?: "start" | "center" | "end";
|
|
728
|
+
justify?: "start" | "center" | "between" | "end";
|
|
729
|
+
className?: string;
|
|
730
|
+
}
|
|
731
|
+
declare function Cluster({ children, gap, align, justify, className }: ClusterProps): react.JSX.Element;
|
|
732
|
+
|
|
733
|
+
interface BreadcrumbItem {
|
|
734
|
+
label: ReactNode;
|
|
735
|
+
href?: string;
|
|
736
|
+
current?: boolean;
|
|
737
|
+
}
|
|
738
|
+
interface BreadcrumbsProps {
|
|
739
|
+
items: BreadcrumbItem[];
|
|
740
|
+
separator?: ReactNode;
|
|
741
|
+
className?: string;
|
|
742
|
+
}
|
|
743
|
+
declare function Breadcrumbs({ items, separator, className }: BreadcrumbsProps): react.JSX.Element;
|
|
744
|
+
|
|
745
|
+
interface SidebarNavItem {
|
|
746
|
+
label: ReactNode;
|
|
747
|
+
href?: string;
|
|
748
|
+
icon?: ReactNode;
|
|
749
|
+
badge?: ReactNode;
|
|
750
|
+
active?: boolean;
|
|
751
|
+
disabled?: boolean;
|
|
752
|
+
onClick?: () => void;
|
|
753
|
+
}
|
|
754
|
+
interface SidebarNavGroup {
|
|
755
|
+
label?: ReactNode;
|
|
756
|
+
items: SidebarNavItem[];
|
|
757
|
+
}
|
|
758
|
+
interface SidebarNavProps {
|
|
759
|
+
groups: SidebarNavGroup[];
|
|
760
|
+
header?: ReactNode;
|
|
761
|
+
footer?: ReactNode;
|
|
762
|
+
className?: string;
|
|
763
|
+
}
|
|
764
|
+
declare function SidebarNav({ groups, header, footer, className }: SidebarNavProps): react.JSX.Element;
|
|
765
|
+
|
|
766
|
+
interface TopNavLink {
|
|
767
|
+
label: ReactNode;
|
|
768
|
+
href?: string;
|
|
769
|
+
active?: boolean;
|
|
770
|
+
onClick?: () => void;
|
|
771
|
+
}
|
|
772
|
+
interface TopNavProps {
|
|
773
|
+
brand?: ReactNode;
|
|
774
|
+
links?: TopNavLink[];
|
|
775
|
+
actions?: ReactNode;
|
|
776
|
+
className?: string;
|
|
777
|
+
sticky?: boolean;
|
|
778
|
+
}
|
|
779
|
+
declare function TopNav({ brand, links, actions, className, sticky }: TopNavProps): react.JSX.Element;
|
|
780
|
+
|
|
781
|
+
interface TabItem {
|
|
782
|
+
id: string;
|
|
783
|
+
label: ReactNode;
|
|
784
|
+
content: ReactNode;
|
|
785
|
+
badge?: ReactNode;
|
|
786
|
+
disabled?: boolean;
|
|
787
|
+
}
|
|
788
|
+
interface TabsProps {
|
|
789
|
+
items: TabItem[];
|
|
790
|
+
activeId: string;
|
|
791
|
+
onChange?: (id: string) => void;
|
|
792
|
+
className?: string;
|
|
793
|
+
variant?: "line" | "boxed" | "brutal";
|
|
794
|
+
}
|
|
795
|
+
declare function Tabs({ items, activeId, onChange, className, variant }: TabsProps): react.JSX.Element;
|
|
796
|
+
|
|
797
|
+
interface AccordionItem {
|
|
798
|
+
id: string;
|
|
799
|
+
title: ReactNode;
|
|
800
|
+
content: ReactNode;
|
|
801
|
+
meta?: ReactNode;
|
|
802
|
+
disabled?: boolean;
|
|
803
|
+
}
|
|
804
|
+
interface AccordionProps {
|
|
805
|
+
items: AccordionItem[];
|
|
806
|
+
openIds?: string[];
|
|
807
|
+
onToggle?: (id: string) => void;
|
|
808
|
+
className?: string;
|
|
809
|
+
allowMultiple?: boolean;
|
|
810
|
+
}
|
|
811
|
+
declare function Accordion({ items, openIds, onToggle, className }: AccordionProps): react.JSX.Element;
|
|
812
|
+
|
|
813
|
+
interface StepItem {
|
|
814
|
+
id: string;
|
|
815
|
+
label: ReactNode;
|
|
816
|
+
description?: ReactNode;
|
|
817
|
+
status?: "complete" | "current" | "upcoming" | "error";
|
|
818
|
+
}
|
|
819
|
+
interface StepperProps {
|
|
820
|
+
steps: StepItem[];
|
|
821
|
+
orientation?: "horizontal" | "vertical";
|
|
822
|
+
className?: string;
|
|
823
|
+
}
|
|
824
|
+
declare function Stepper({ steps, orientation, className }: StepperProps): react.JSX.Element;
|
|
825
|
+
|
|
826
|
+
interface DrawerProps {
|
|
827
|
+
open: boolean;
|
|
828
|
+
onClose?: () => void;
|
|
829
|
+
title?: ReactNode;
|
|
830
|
+
description?: ReactNode;
|
|
831
|
+
children: ReactNode;
|
|
832
|
+
footer?: ReactNode;
|
|
833
|
+
side?: "left" | "right";
|
|
834
|
+
className?: string;
|
|
835
|
+
}
|
|
836
|
+
declare function Drawer({ open, onClose, title, description, children, footer, side, className }: DrawerProps): react.JSX.Element | null;
|
|
837
|
+
|
|
838
|
+
interface PopoverProps {
|
|
839
|
+
trigger: ReactNode;
|
|
840
|
+
children: ReactNode;
|
|
841
|
+
open?: boolean;
|
|
842
|
+
align?: "start" | "end";
|
|
843
|
+
className?: string;
|
|
844
|
+
}
|
|
845
|
+
declare function Popover({ trigger, children, open, align, className }: PopoverProps): react.JSX.Element;
|
|
846
|
+
|
|
847
|
+
interface CommandItem {
|
|
848
|
+
id: string;
|
|
849
|
+
label: ReactNode;
|
|
850
|
+
description?: ReactNode;
|
|
851
|
+
icon?: ReactNode;
|
|
852
|
+
shortcut?: ReactNode;
|
|
853
|
+
disabled?: boolean;
|
|
854
|
+
onSelect?: () => void;
|
|
855
|
+
}
|
|
856
|
+
interface CommandGroup {
|
|
857
|
+
label?: ReactNode;
|
|
858
|
+
items: CommandItem[];
|
|
859
|
+
}
|
|
860
|
+
interface CommandMenuProps {
|
|
861
|
+
open: boolean;
|
|
862
|
+
onClose?: () => void;
|
|
863
|
+
query?: string;
|
|
864
|
+
onQueryChange?: (value: string) => void;
|
|
865
|
+
groups: CommandGroup[];
|
|
866
|
+
placeholder?: string;
|
|
867
|
+
empty?: ReactNode;
|
|
868
|
+
}
|
|
869
|
+
declare function CommandMenu({ open, onClose, query, onQueryChange, groups, placeholder, empty }: CommandMenuProps): react.JSX.Element | null;
|
|
870
|
+
|
|
871
|
+
interface FormFieldProps {
|
|
872
|
+
label?: ReactNode;
|
|
873
|
+
hint?: ReactNode;
|
|
874
|
+
error?: ReactNode;
|
|
875
|
+
required?: boolean;
|
|
876
|
+
htmlFor?: string;
|
|
877
|
+
children: ReactNode;
|
|
878
|
+
className?: string;
|
|
879
|
+
}
|
|
880
|
+
declare function FormField({ label, hint, error, required, htmlFor, children, className }: FormFieldProps): react.JSX.Element;
|
|
881
|
+
|
|
882
|
+
interface SwitchProps {
|
|
883
|
+
checked?: boolean;
|
|
884
|
+
onChange?: (checked: boolean) => void;
|
|
885
|
+
disabled?: boolean;
|
|
886
|
+
label?: ReactNode;
|
|
887
|
+
description?: ReactNode;
|
|
888
|
+
className?: string;
|
|
889
|
+
}
|
|
890
|
+
declare function Switch({ checked, onChange, disabled, label, description, className }: SwitchProps): react.JSX.Element;
|
|
891
|
+
|
|
892
|
+
interface ToggleOption {
|
|
893
|
+
value: string;
|
|
894
|
+
label: ReactNode;
|
|
895
|
+
disabled?: boolean;
|
|
896
|
+
}
|
|
897
|
+
interface ToggleGroupProps {
|
|
898
|
+
options: ToggleOption[];
|
|
899
|
+
value?: string;
|
|
900
|
+
onChange?: (value: string) => void;
|
|
901
|
+
className?: string;
|
|
902
|
+
fullWidth?: boolean;
|
|
903
|
+
}
|
|
904
|
+
declare function ToggleGroup({ options, value, onChange, className, fullWidth }: ToggleGroupProps): react.JSX.Element;
|
|
905
|
+
|
|
906
|
+
interface InputGroupProps {
|
|
907
|
+
prefix?: ReactNode;
|
|
908
|
+
suffix?: ReactNode;
|
|
909
|
+
children: ReactNode;
|
|
910
|
+
className?: string;
|
|
911
|
+
}
|
|
912
|
+
declare function InputGroup({ prefix, suffix, children, className }: InputGroupProps): react.JSX.Element;
|
|
913
|
+
|
|
914
|
+
type AlertTone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
915
|
+
interface AlertProps {
|
|
916
|
+
tone?: AlertTone;
|
|
917
|
+
title?: ReactNode;
|
|
918
|
+
children?: ReactNode;
|
|
919
|
+
icon?: ReactNode;
|
|
920
|
+
actions?: ReactNode;
|
|
921
|
+
className?: string;
|
|
922
|
+
}
|
|
923
|
+
declare function Alert({ tone, title, children, icon, actions, className }: AlertProps): react.JSX.Element;
|
|
924
|
+
|
|
925
|
+
interface ProgressProps {
|
|
926
|
+
value: number;
|
|
927
|
+
max?: number;
|
|
928
|
+
label?: string;
|
|
929
|
+
showValue?: boolean;
|
|
930
|
+
tone?: "accent" | "success" | "warning" | "danger";
|
|
931
|
+
className?: string;
|
|
932
|
+
}
|
|
933
|
+
declare function Progress({ value, max, label, showValue, tone, className }: ProgressProps): react.JSX.Element;
|
|
934
|
+
|
|
935
|
+
interface AvatarProps {
|
|
936
|
+
src?: string;
|
|
937
|
+
name?: string;
|
|
938
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
939
|
+
className?: string;
|
|
940
|
+
}
|
|
941
|
+
declare function Avatar({ src, name, size, className }: AvatarProps): react.JSX.Element;
|
|
942
|
+
|
|
943
|
+
interface KbdProps {
|
|
944
|
+
children: ReactNode;
|
|
945
|
+
className?: string;
|
|
946
|
+
}
|
|
947
|
+
declare function Kbd({ children, className }: KbdProps): react.JSX.Element;
|
|
948
|
+
|
|
949
|
+
interface TimelineItem {
|
|
950
|
+
id: string;
|
|
951
|
+
title: ReactNode;
|
|
952
|
+
description?: ReactNode;
|
|
953
|
+
time?: ReactNode;
|
|
954
|
+
icon?: ReactNode;
|
|
955
|
+
tone?: "neutral" | "info" | "success" | "warning" | "danger";
|
|
956
|
+
}
|
|
957
|
+
interface TimelineProps {
|
|
958
|
+
items: TimelineItem[];
|
|
959
|
+
className?: string;
|
|
960
|
+
}
|
|
961
|
+
declare function Timeline({ items, className }: TimelineProps): react.JSX.Element;
|
|
962
|
+
|
|
963
|
+
interface KeyValueItem {
|
|
964
|
+
keyLabel: ReactNode;
|
|
965
|
+
value: ReactNode;
|
|
966
|
+
description?: ReactNode;
|
|
967
|
+
}
|
|
968
|
+
interface KeyValueListProps {
|
|
969
|
+
items: KeyValueItem[];
|
|
970
|
+
className?: string;
|
|
971
|
+
density?: "compact" | "normal";
|
|
972
|
+
}
|
|
973
|
+
declare function KeyValueList({ items, className, density }: KeyValueListProps): react.JSX.Element;
|
|
974
|
+
|
|
975
|
+
interface CodeBlockProps {
|
|
976
|
+
children: ReactNode;
|
|
977
|
+
language?: string;
|
|
978
|
+
title?: ReactNode;
|
|
979
|
+
actions?: ReactNode;
|
|
980
|
+
className?: string;
|
|
981
|
+
}
|
|
982
|
+
declare function CodeBlock({ children, language, title, actions, className }: CodeBlockProps): react.JSX.Element;
|
|
983
|
+
|
|
984
|
+
interface LogoCloudItem {
|
|
985
|
+
name: string;
|
|
986
|
+
logo?: ReactNode;
|
|
987
|
+
}
|
|
988
|
+
interface LogoCloudProps {
|
|
989
|
+
title?: ReactNode;
|
|
990
|
+
items: LogoCloudItem[];
|
|
991
|
+
className?: string;
|
|
992
|
+
}
|
|
993
|
+
declare function LogoCloud({ title, items, className }: LogoCloudProps): react.JSX.Element;
|
|
994
|
+
|
|
995
|
+
interface TestimonialCardProps {
|
|
996
|
+
quote: ReactNode;
|
|
997
|
+
author: string;
|
|
998
|
+
role?: ReactNode;
|
|
999
|
+
avatarSrc?: string;
|
|
1000
|
+
className?: string;
|
|
1001
|
+
variant?: "surface" | "brutal";
|
|
1002
|
+
}
|
|
1003
|
+
declare function TestimonialCard({ quote, author, role, avatarSrc, className, variant }: TestimonialCardProps): react.JSX.Element;
|
|
1004
|
+
|
|
1005
|
+
interface PricingCardProps {
|
|
1006
|
+
name: ReactNode;
|
|
1007
|
+
price: ReactNode;
|
|
1008
|
+
description?: ReactNode;
|
|
1009
|
+
features?: ReactNode[];
|
|
1010
|
+
cta?: ReactNode;
|
|
1011
|
+
highlighted?: boolean;
|
|
1012
|
+
className?: string;
|
|
1013
|
+
}
|
|
1014
|
+
declare function PricingCard({ name, price, description, features, cta, highlighted, className }: PricingCardProps): react.JSX.Element;
|
|
1015
|
+
|
|
1016
|
+
interface StatsBandItem {
|
|
1017
|
+
value: ReactNode;
|
|
1018
|
+
label: ReactNode;
|
|
1019
|
+
description?: ReactNode;
|
|
1020
|
+
}
|
|
1021
|
+
interface StatsBandProps {
|
|
1022
|
+
items: StatsBandItem[];
|
|
1023
|
+
className?: string;
|
|
1024
|
+
}
|
|
1025
|
+
declare function StatsBand({ items, className }: StatsBandProps): react.JSX.Element;
|
|
1026
|
+
|
|
1027
|
+
type TapizFrameworkPreset = "enterprise" | "brutal" | "dashboard" | "marketing" | "compact";
|
|
1028
|
+
interface TapizPresetDefinition {
|
|
1029
|
+
shell: string;
|
|
1030
|
+
card: string;
|
|
1031
|
+
button: "primary" | "secondary" | "brutal";
|
|
1032
|
+
density: "compact" | "comfortable" | "spacious";
|
|
1033
|
+
}
|
|
1034
|
+
declare const tapizFrameworkPresets: Record<TapizFrameworkPreset, TapizPresetDefinition>;
|
|
1035
|
+
|
|
1036
|
+
type ContainerSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
1037
|
+
interface ContainerProps {
|
|
1038
|
+
children: ReactNode;
|
|
1039
|
+
size?: ContainerSize;
|
|
1040
|
+
padded?: boolean;
|
|
1041
|
+
className?: string;
|
|
1042
|
+
style?: CSSProperties;
|
|
1043
|
+
}
|
|
1044
|
+
declare function Container({ children, size, padded, className, style }: ContainerProps): react.JSX.Element;
|
|
1045
|
+
|
|
1046
|
+
type SurfaceVariant = "canvas" | "surface" | "raised" | "muted" | "brutal" | "inverse";
|
|
1047
|
+
type SurfacePadding = "none" | "sm" | "md" | "lg" | "xl";
|
|
1048
|
+
interface SurfaceProps {
|
|
1049
|
+
children: ReactNode;
|
|
1050
|
+
variant?: SurfaceVariant;
|
|
1051
|
+
padding?: SurfacePadding;
|
|
1052
|
+
bordered?: boolean;
|
|
1053
|
+
className?: string;
|
|
1054
|
+
style?: CSSProperties;
|
|
1055
|
+
}
|
|
1056
|
+
declare function Surface({ children, variant, padding, bordered, className, style }: SurfaceProps): react.JSX.Element;
|
|
1057
|
+
|
|
1058
|
+
interface DividerProps {
|
|
1059
|
+
orientation?: "horizontal" | "vertical";
|
|
1060
|
+
label?: string;
|
|
1061
|
+
className?: string;
|
|
1062
|
+
}
|
|
1063
|
+
declare function Divider({ orientation, label, className }: DividerProps): react.JSX.Element;
|
|
1064
|
+
|
|
1065
|
+
interface ResponsiveGridProps {
|
|
1066
|
+
children: ReactNode;
|
|
1067
|
+
min?: string;
|
|
1068
|
+
gap?: "sm" | "md" | "lg" | "xl";
|
|
1069
|
+
className?: string;
|
|
1070
|
+
style?: CSSProperties;
|
|
1071
|
+
}
|
|
1072
|
+
declare function ResponsiveGrid({ children, min, gap, className, style }: ResponsiveGridProps): react.JSX.Element;
|
|
1073
|
+
|
|
1074
|
+
interface SparklineProps {
|
|
1075
|
+
values: number[];
|
|
1076
|
+
width?: number;
|
|
1077
|
+
height?: number;
|
|
1078
|
+
label?: string;
|
|
1079
|
+
className?: string;
|
|
1080
|
+
style?: CSSProperties;
|
|
1081
|
+
}
|
|
1082
|
+
declare function Sparkline({ values, width, height, label, className, style }: SparklineProps): react.JSX.Element;
|
|
1083
|
+
|
|
1084
|
+
interface BarListItem {
|
|
1085
|
+
label: ReactNode;
|
|
1086
|
+
value: number;
|
|
1087
|
+
detail?: ReactNode;
|
|
1088
|
+
}
|
|
1089
|
+
interface BarListProps {
|
|
1090
|
+
items: BarListItem[];
|
|
1091
|
+
max?: number;
|
|
1092
|
+
valueFormatter?: (value: number) => ReactNode;
|
|
1093
|
+
className?: string;
|
|
1094
|
+
}
|
|
1095
|
+
declare function BarList({ items, max, valueFormatter, className }: BarListProps): react.JSX.Element;
|
|
1096
|
+
|
|
1097
|
+
interface DonutMetricProps {
|
|
1098
|
+
value: number;
|
|
1099
|
+
max?: number;
|
|
1100
|
+
label?: ReactNode;
|
|
1101
|
+
caption?: ReactNode;
|
|
1102
|
+
size?: number;
|
|
1103
|
+
className?: string;
|
|
1104
|
+
}
|
|
1105
|
+
declare function DonutMetric({ value, max, label, caption, size, className }: DonutMetricProps): react.JSX.Element;
|
|
1106
|
+
|
|
1107
|
+
interface FilterChipProps {
|
|
1108
|
+
children: ReactNode;
|
|
1109
|
+
active?: boolean;
|
|
1110
|
+
onRemove?: () => void;
|
|
1111
|
+
className?: string;
|
|
1112
|
+
}
|
|
1113
|
+
declare function FilterChip({ children, active, onRemove, className }: FilterChipProps): react.JSX.Element;
|
|
1114
|
+
|
|
1115
|
+
interface DataToolbarProps {
|
|
1116
|
+
title?: ReactNode;
|
|
1117
|
+
description?: ReactNode;
|
|
1118
|
+
search?: ReactNode;
|
|
1119
|
+
filters?: ReactNode;
|
|
1120
|
+
actions?: ReactNode;
|
|
1121
|
+
className?: string;
|
|
1122
|
+
}
|
|
1123
|
+
declare function DataToolbar({ title, description, search, filters, actions, className }: DataToolbarProps): react.JSX.Element;
|
|
1124
|
+
|
|
1125
|
+
interface ResourceCardProps {
|
|
1126
|
+
title: ReactNode;
|
|
1127
|
+
description?: ReactNode;
|
|
1128
|
+
eyebrow?: ReactNode;
|
|
1129
|
+
icon?: ReactNode;
|
|
1130
|
+
meta?: ReactNode;
|
|
1131
|
+
status?: ReactNode;
|
|
1132
|
+
actions?: ReactNode;
|
|
1133
|
+
href?: string;
|
|
1134
|
+
className?: string;
|
|
1135
|
+
}
|
|
1136
|
+
declare function ResourceCard({ title, description, eyebrow, icon, meta, status, actions, href, className }: ResourceCardProps): react.JSX.Element;
|
|
1137
|
+
|
|
1138
|
+
type IntegrationStatus = "connected" | "disconnected" | "syncing" | "error";
|
|
1139
|
+
interface IntegrationCardProps {
|
|
1140
|
+
name: ReactNode;
|
|
1141
|
+
description?: ReactNode;
|
|
1142
|
+
logo?: ReactNode;
|
|
1143
|
+
status?: IntegrationStatus;
|
|
1144
|
+
lastSync?: ReactNode;
|
|
1145
|
+
actions?: ReactNode;
|
|
1146
|
+
className?: string;
|
|
1147
|
+
}
|
|
1148
|
+
declare function IntegrationCard({ name, description, logo, status, lastSync, actions, className }: IntegrationCardProps): react.JSX.Element;
|
|
1149
|
+
|
|
1150
|
+
type HealthTone = "operational" | "degraded" | "outage" | "unknown";
|
|
1151
|
+
interface HealthIndicatorProps {
|
|
1152
|
+
tone?: HealthTone;
|
|
1153
|
+
label?: ReactNode;
|
|
1154
|
+
detail?: ReactNode;
|
|
1155
|
+
className?: string;
|
|
1156
|
+
}
|
|
1157
|
+
declare function HealthIndicator({ tone, label, detail, className }: HealthIndicatorProps): react.JSX.Element;
|
|
1158
|
+
|
|
1159
|
+
interface AuditLogItem {
|
|
1160
|
+
actor: string;
|
|
1161
|
+
action: ReactNode;
|
|
1162
|
+
timestamp: ReactNode;
|
|
1163
|
+
detail?: ReactNode;
|
|
1164
|
+
initials?: string;
|
|
1165
|
+
}
|
|
1166
|
+
interface AuditLogProps {
|
|
1167
|
+
items: AuditLogItem[];
|
|
1168
|
+
className?: string;
|
|
1169
|
+
}
|
|
1170
|
+
declare function AuditLog({ items, className }: AuditLogProps): react.JSX.Element;
|
|
1171
|
+
|
|
1172
|
+
interface KanbanCardItem {
|
|
1173
|
+
id: string;
|
|
1174
|
+
title: ReactNode;
|
|
1175
|
+
description?: ReactNode;
|
|
1176
|
+
meta?: ReactNode;
|
|
1177
|
+
tone?: "default" | "accent" | "success" | "warning" | "danger";
|
|
1178
|
+
}
|
|
1179
|
+
interface KanbanColumn {
|
|
1180
|
+
id: string;
|
|
1181
|
+
title: ReactNode;
|
|
1182
|
+
description?: ReactNode;
|
|
1183
|
+
items: KanbanCardItem[];
|
|
1184
|
+
}
|
|
1185
|
+
interface KanbanBoardProps {
|
|
1186
|
+
columns: KanbanColumn[];
|
|
1187
|
+
className?: string;
|
|
1188
|
+
}
|
|
1189
|
+
declare function KanbanBoard({ columns, className }: KanbanBoardProps): react.JSX.Element;
|
|
1190
|
+
|
|
1191
|
+
interface AccessMatrixRole {
|
|
1192
|
+
key: string;
|
|
1193
|
+
label: ReactNode;
|
|
1194
|
+
}
|
|
1195
|
+
interface AccessMatrixPermission {
|
|
1196
|
+
key: string;
|
|
1197
|
+
label: ReactNode;
|
|
1198
|
+
description?: ReactNode;
|
|
1199
|
+
roles: Record<string, boolean>;
|
|
1200
|
+
}
|
|
1201
|
+
interface AccessMatrixProps {
|
|
1202
|
+
roles: AccessMatrixRole[];
|
|
1203
|
+
permissions: AccessMatrixPermission[];
|
|
1204
|
+
className?: string;
|
|
1205
|
+
}
|
|
1206
|
+
declare function AccessMatrix({ roles, permissions, className }: AccessMatrixProps): react.JSX.Element;
|
|
1207
|
+
|
|
1208
|
+
interface CalendarGridDay {
|
|
1209
|
+
date: ReactNode;
|
|
1210
|
+
label?: ReactNode;
|
|
1211
|
+
muted?: boolean;
|
|
1212
|
+
selected?: boolean;
|
|
1213
|
+
events?: ReactNode[];
|
|
1214
|
+
}
|
|
1215
|
+
interface CalendarGridProps {
|
|
1216
|
+
days: CalendarGridDay[];
|
|
1217
|
+
weekdays?: ReactNode[];
|
|
1218
|
+
className?: string;
|
|
1219
|
+
}
|
|
1220
|
+
declare function CalendarGrid({ days, weekdays, className }: CalendarGridProps): react.JSX.Element;
|
|
1221
|
+
|
|
1222
|
+
interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
1223
|
+
label?: string;
|
|
1224
|
+
valueLabel?: string;
|
|
1225
|
+
}
|
|
1226
|
+
declare function Slider({ label, valueLabel, className, ...props }: SliderProps): react.JSX.Element;
|
|
1227
|
+
|
|
1228
|
+
interface FileDropzoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "title"> {
|
|
1229
|
+
title?: ReactNode;
|
|
1230
|
+
description?: ReactNode;
|
|
1231
|
+
actionLabel?: ReactNode;
|
|
1232
|
+
className?: string;
|
|
1233
|
+
}
|
|
1234
|
+
declare function FileDropzone({ title, description, actionLabel, className, ...props }: FileDropzoneProps): react.JSX.Element;
|
|
1235
|
+
|
|
1236
|
+
interface PasswordInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
1237
|
+
revealLabel?: ReactNode;
|
|
1238
|
+
}
|
|
1239
|
+
declare function PasswordInput({ revealLabel, className, ...props }: PasswordInputProps): react.JSX.Element;
|
|
1240
|
+
|
|
1241
|
+
interface TextareaCounterProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1242
|
+
maxLength: number;
|
|
1243
|
+
value?: string;
|
|
1244
|
+
}
|
|
1245
|
+
declare function TextareaCounter({ maxLength, value, className, ...props }: TextareaCounterProps): react.JSX.Element;
|
|
1246
|
+
|
|
1247
|
+
type CalloutTone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
1248
|
+
interface CalloutProps {
|
|
1249
|
+
title?: ReactNode;
|
|
1250
|
+
children?: ReactNode;
|
|
1251
|
+
tone?: CalloutTone;
|
|
1252
|
+
icon?: ReactNode;
|
|
1253
|
+
actions?: ReactNode;
|
|
1254
|
+
className?: string;
|
|
1255
|
+
}
|
|
1256
|
+
declare function Callout({ title, children, tone, icon, actions, className }: CalloutProps): react.JSX.Element;
|
|
1257
|
+
|
|
1258
|
+
interface LoadingOverlayProps {
|
|
1259
|
+
visible?: boolean;
|
|
1260
|
+
label?: ReactNode;
|
|
1261
|
+
children: ReactNode;
|
|
1262
|
+
className?: string;
|
|
1263
|
+
}
|
|
1264
|
+
declare function LoadingOverlay({ visible, label, children, className }: LoadingOverlayProps): react.JSX.Element;
|
|
1265
|
+
|
|
1266
|
+
interface NotificationItem {
|
|
1267
|
+
id: string;
|
|
1268
|
+
title: ReactNode;
|
|
1269
|
+
description?: ReactNode;
|
|
1270
|
+
time?: ReactNode;
|
|
1271
|
+
unread?: boolean;
|
|
1272
|
+
action?: ReactNode;
|
|
1273
|
+
}
|
|
1274
|
+
interface NotificationListProps {
|
|
1275
|
+
items: NotificationItem[];
|
|
1276
|
+
className?: string;
|
|
1277
|
+
}
|
|
1278
|
+
declare function NotificationList({ items, className }: NotificationListProps): react.JSX.Element;
|
|
1279
|
+
|
|
1280
|
+
interface TapizDocsPageProps {
|
|
1281
|
+
title?: string;
|
|
1282
|
+
subtitle?: string;
|
|
1283
|
+
}
|
|
1284
|
+
declare function TapizDocsPage({ title, subtitle }: TapizDocsPageProps): react.JSX.Element;
|
|
1285
|
+
|
|
1286
|
+
interface MasonryGridProps {
|
|
1287
|
+
children: ReactNode;
|
|
1288
|
+
columns?: 2 | 3 | 4;
|
|
1289
|
+
gap?: "sm" | "md" | "lg";
|
|
1290
|
+
className?: string;
|
|
1291
|
+
style?: CSSProperties;
|
|
1292
|
+
}
|
|
1293
|
+
declare function MasonryGrid({ children, columns, gap, className, style }: MasonryGridProps): react.JSX.Element;
|
|
1294
|
+
|
|
1295
|
+
interface PageRailItem {
|
|
1296
|
+
label: ReactNode;
|
|
1297
|
+
href?: string;
|
|
1298
|
+
active?: boolean;
|
|
1299
|
+
meta?: ReactNode;
|
|
1300
|
+
}
|
|
1301
|
+
interface PageRailProps {
|
|
1302
|
+
title?: ReactNode;
|
|
1303
|
+
items: PageRailItem[];
|
|
1304
|
+
actions?: ReactNode;
|
|
1305
|
+
className?: string;
|
|
1306
|
+
style?: CSSProperties;
|
|
1307
|
+
}
|
|
1308
|
+
declare function PageRail({ title, items, actions, className, style }: PageRailProps): react.JSX.Element;
|
|
1309
|
+
|
|
1310
|
+
interface StickyBarProps {
|
|
1311
|
+
children: ReactNode;
|
|
1312
|
+
position?: "top" | "bottom";
|
|
1313
|
+
className?: string;
|
|
1314
|
+
style?: CSSProperties;
|
|
1315
|
+
}
|
|
1316
|
+
declare function StickyBar({ children, position, className, style }: StickyBarProps): react.JSX.Element;
|
|
1317
|
+
|
|
1318
|
+
interface ComboboxOption {
|
|
1319
|
+
value: string;
|
|
1320
|
+
label: ReactNode;
|
|
1321
|
+
description?: ReactNode;
|
|
1322
|
+
}
|
|
1323
|
+
interface ComboboxProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
1324
|
+
options: ComboboxOption[];
|
|
1325
|
+
placeholder?: string;
|
|
1326
|
+
invalid?: boolean;
|
|
1327
|
+
}
|
|
1328
|
+
declare function Combobox({ options, placeholder, invalid, className, ...props }: ComboboxProps): react.JSX.Element;
|
|
1329
|
+
|
|
1330
|
+
interface DateRangePickerProps {
|
|
1331
|
+
startLabel?: string;
|
|
1332
|
+
endLabel?: string;
|
|
1333
|
+
startProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
1334
|
+
endProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
1335
|
+
className?: string;
|
|
1336
|
+
}
|
|
1337
|
+
declare function DateRangePicker({ startLabel, endLabel, startProps, endProps, className }: DateRangePickerProps): react.JSX.Element;
|
|
1338
|
+
|
|
1339
|
+
interface ColorSwatchOption {
|
|
1340
|
+
value: string;
|
|
1341
|
+
label: ReactNode;
|
|
1342
|
+
color: string;
|
|
1343
|
+
}
|
|
1344
|
+
interface ColorSwatchPickerProps {
|
|
1345
|
+
options: ColorSwatchOption[];
|
|
1346
|
+
value?: string;
|
|
1347
|
+
onChange?: (value: string) => void;
|
|
1348
|
+
className?: string;
|
|
1349
|
+
}
|
|
1350
|
+
declare function ColorSwatchPicker({ options, value, onChange, className }: ColorSwatchPickerProps): react.JSX.Element;
|
|
1351
|
+
|
|
1352
|
+
interface RatingInputProps {
|
|
1353
|
+
value?: number;
|
|
1354
|
+
max?: number;
|
|
1355
|
+
icon?: ReactNode;
|
|
1356
|
+
onChange?: (value: number) => void;
|
|
1357
|
+
label?: string;
|
|
1358
|
+
className?: string;
|
|
1359
|
+
}
|
|
1360
|
+
declare function RatingInput({ value, max, icon, onChange, label, className }: RatingInputProps): react.JSX.Element;
|
|
1361
|
+
|
|
1362
|
+
interface ScoreRingProps {
|
|
1363
|
+
value: number;
|
|
1364
|
+
max?: number;
|
|
1365
|
+
label?: ReactNode;
|
|
1366
|
+
size?: number;
|
|
1367
|
+
className?: string;
|
|
1368
|
+
}
|
|
1369
|
+
declare function ScoreRing({ value, max, label, size, className }: ScoreRingProps): react.JSX.Element;
|
|
1370
|
+
|
|
1371
|
+
interface HeatmapCell {
|
|
1372
|
+
value: number;
|
|
1373
|
+
label?: ReactNode;
|
|
1374
|
+
title?: string;
|
|
1375
|
+
}
|
|
1376
|
+
interface HeatmapGridProps {
|
|
1377
|
+
cells: HeatmapCell[];
|
|
1378
|
+
columns?: number;
|
|
1379
|
+
max?: number;
|
|
1380
|
+
className?: string;
|
|
1381
|
+
}
|
|
1382
|
+
declare function HeatmapGrid({ cells, columns, max, className }: HeatmapGridProps): react.JSX.Element;
|
|
1383
|
+
|
|
1384
|
+
interface FunnelStep {
|
|
1385
|
+
label: ReactNode;
|
|
1386
|
+
value: number;
|
|
1387
|
+
meta?: ReactNode;
|
|
1388
|
+
}
|
|
1389
|
+
interface FunnelChartProps {
|
|
1390
|
+
steps: FunnelStep[];
|
|
1391
|
+
className?: string;
|
|
1392
|
+
}
|
|
1393
|
+
declare function FunnelChart({ steps, className }: FunnelChartProps): react.JSX.Element;
|
|
1394
|
+
|
|
1395
|
+
interface ComparisonMeterProps {
|
|
1396
|
+
leftLabel: ReactNode;
|
|
1397
|
+
rightLabel: ReactNode;
|
|
1398
|
+
value: number;
|
|
1399
|
+
className?: string;
|
|
1400
|
+
}
|
|
1401
|
+
declare function ComparisonMeter({ leftLabel, rightLabel, value, className }: ComparisonMeterProps): react.JSX.Element;
|
|
1402
|
+
|
|
1403
|
+
interface ActivityFeedItem {
|
|
1404
|
+
actor: string;
|
|
1405
|
+
action: ReactNode;
|
|
1406
|
+
time?: ReactNode;
|
|
1407
|
+
avatarUrl?: string;
|
|
1408
|
+
meta?: ReactNode;
|
|
1409
|
+
}
|
|
1410
|
+
interface ActivityFeedProps {
|
|
1411
|
+
items: ActivityFeedItem[];
|
|
1412
|
+
className?: string;
|
|
1413
|
+
}
|
|
1414
|
+
declare function ActivityFeed({ items, className }: ActivityFeedProps): react.JSX.Element;
|
|
1415
|
+
|
|
1416
|
+
interface InboxItem {
|
|
1417
|
+
title: ReactNode;
|
|
1418
|
+
sender?: ReactNode;
|
|
1419
|
+
snippet?: ReactNode;
|
|
1420
|
+
time?: ReactNode;
|
|
1421
|
+
unread?: boolean;
|
|
1422
|
+
tag?: ReactNode;
|
|
1423
|
+
}
|
|
1424
|
+
interface InboxListProps {
|
|
1425
|
+
items: InboxItem[];
|
|
1426
|
+
className?: string;
|
|
1427
|
+
}
|
|
1428
|
+
declare function InboxList({ items, className }: InboxListProps): react.JSX.Element;
|
|
1429
|
+
|
|
1430
|
+
interface ApprovalItem {
|
|
1431
|
+
title: ReactNode;
|
|
1432
|
+
requester?: ReactNode;
|
|
1433
|
+
description?: ReactNode;
|
|
1434
|
+
priority?: "low" | "medium" | "high";
|
|
1435
|
+
}
|
|
1436
|
+
interface ApprovalQueueProps {
|
|
1437
|
+
items: ApprovalItem[];
|
|
1438
|
+
onApprove?: (index: number) => void;
|
|
1439
|
+
onReject?: (index: number) => void;
|
|
1440
|
+
className?: string;
|
|
1441
|
+
}
|
|
1442
|
+
declare function ApprovalQueue({ items, onApprove, onReject, className }: ApprovalQueueProps): react.JSX.Element;
|
|
1443
|
+
|
|
1444
|
+
interface SLAStatusProps {
|
|
1445
|
+
label: ReactNode;
|
|
1446
|
+
value: number;
|
|
1447
|
+
target?: number;
|
|
1448
|
+
className?: string;
|
|
1449
|
+
}
|
|
1450
|
+
declare function SLAStatus({ label, value, target, className }: SLAStatusProps): react.JSX.Element;
|
|
1451
|
+
|
|
1452
|
+
interface FeatureFlag {
|
|
1453
|
+
key: string;
|
|
1454
|
+
name: ReactNode;
|
|
1455
|
+
description?: ReactNode;
|
|
1456
|
+
enabled?: boolean;
|
|
1457
|
+
rollout?: ReactNode;
|
|
1458
|
+
}
|
|
1459
|
+
interface FeatureFlagTableProps {
|
|
1460
|
+
flags: FeatureFlag[];
|
|
1461
|
+
onToggle?: (key: string, enabled: boolean) => void;
|
|
1462
|
+
className?: string;
|
|
1463
|
+
}
|
|
1464
|
+
declare function FeatureFlagTable({ flags, onToggle, className }: FeatureFlagTableProps): react.JSX.Element;
|
|
1465
|
+
|
|
1466
|
+
interface PlanUsageItem {
|
|
1467
|
+
label: ReactNode;
|
|
1468
|
+
used: number;
|
|
1469
|
+
limit: number;
|
|
1470
|
+
}
|
|
1471
|
+
interface PlanUsageProps {
|
|
1472
|
+
title?: ReactNode;
|
|
1473
|
+
items: PlanUsageItem[];
|
|
1474
|
+
className?: string;
|
|
1475
|
+
}
|
|
1476
|
+
declare function PlanUsage({ title, items, className }: PlanUsageProps): react.JSX.Element;
|
|
1477
|
+
|
|
1478
|
+
interface AnnouncementBarProps {
|
|
1479
|
+
children: ReactNode;
|
|
1480
|
+
action?: ReactNode;
|
|
1481
|
+
className?: string;
|
|
1482
|
+
}
|
|
1483
|
+
declare function AnnouncementBar({ children, action, className }: AnnouncementBarProps): react.JSX.Element;
|
|
1484
|
+
|
|
1485
|
+
interface FAQItem {
|
|
1486
|
+
question: ReactNode;
|
|
1487
|
+
answer: ReactNode;
|
|
1488
|
+
}
|
|
1489
|
+
interface FAQSectionProps {
|
|
1490
|
+
title?: ReactNode;
|
|
1491
|
+
description?: ReactNode;
|
|
1492
|
+
items: FAQItem[];
|
|
1493
|
+
className?: string;
|
|
1494
|
+
}
|
|
1495
|
+
declare function FAQSection({ title, description, items, className }: FAQSectionProps): react.JSX.Element;
|
|
1496
|
+
|
|
1497
|
+
interface RoadmapItem {
|
|
1498
|
+
title: ReactNode;
|
|
1499
|
+
description?: ReactNode;
|
|
1500
|
+
status?: ReactNode;
|
|
1501
|
+
quarter?: ReactNode;
|
|
1502
|
+
}
|
|
1503
|
+
interface RoadmapListProps {
|
|
1504
|
+
items: RoadmapItem[];
|
|
1505
|
+
className?: string;
|
|
1506
|
+
}
|
|
1507
|
+
declare function RoadmapList({ items, className }: RoadmapListProps): react.JSX.Element;
|
|
1508
|
+
|
|
1509
|
+
type InlineStatusTone = "neutral" | "success" | "warning" | "danger" | "info";
|
|
1510
|
+
interface InlineStatusProps {
|
|
1511
|
+
tone?: InlineStatusTone;
|
|
1512
|
+
children: ReactNode;
|
|
1513
|
+
pulse?: boolean;
|
|
1514
|
+
className?: string;
|
|
1515
|
+
}
|
|
1516
|
+
declare function InlineStatus({ tone, children, pulse, className }: InlineStatusProps): react.JSX.Element;
|
|
575
1517
|
|
|
576
|
-
export { ActionMenu, type ActionMenuItem, type ActionMenuProps, Activity, ActivityMenu, Alert, AppleIcon, ArrowLeft, ArrowRight, Badge, Ban, BarChart, BaseModal, type BaseModalProps, Bell, Book, Button, type ButtonProps, Calendar, CalendarMonth, CalendarWeek, Card, CardBody, CardHeader, type CardProps, type CardSectionProps, Check, CheckCircle, CheckSquare, Checkbox, type CheckboxProps, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clipboard, Clock, type Column, type ColumnAlign, Compare, ConfirmDialog, type ConfirmDialogProps, Copy, Cpu, CreditCard, DataTable, type DataTableProps, Database, DefaultErrorFallback, Download, Edit, EmptyState, type EmptyStateProps, ErrorBoundary, ErrorState, ExternalLink, Eye, EyeOff, Faculty, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, FileText, FileUpload, FingerprintIcon, FormError, type FormErrorProps, FormIcon, FormulaIcon, Gear, Globe, GooglePlayIcon, GraduationCap, Grid, GridBg, HardDrive, Hash, HelpCircle, History, Home, Icons, Image, Info, InfoBanner, type InfoBannerProps, Input, type InputProps, Intersect, Layers, LockIcon, LogOut, LogoMark, Mail, Megaphone, Menu, Monitor, Moon, NavAnalytics, NavQrAttendance, NavScoresheet, NavSecurity, NumberIcon, OfficeHours, PageHeader, type PageHeaderProps, PageSpinner, Pagination, type PaginationLabels, type PaginationProps, Pdf, Plus, Printer, QrCode, RadioButton, type RadioButtonProps, Refresh, RefreshCw, Repeat, Report, RotateCcw, Scan, Search, SearchInput, type SearchInputProps, SectionIcons, SectionTitle, type SectionTitleProps, Select, type SelectProps, Server, type ServerSort, Shield, Skeleton, SkeletonBanner, SkeletonCard, SkeletonKpiCard, SkeletonPageHeader, type SkeletonProps, SkeletonTable, Smartphone, type SortDirection, type SortState, Spinner, type SpinnerProps, Spotlight, Star, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, Sun, Table, Tablet, TextIcon, Textarea, type TextareaProps, Toast, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, Tooltip, type TooltipProps, Trash, Trophy, TwoFAIcon, University, User, UserCheck, UserCog, UserMinus, UserPlus, Users, X, Zap, useToast };
|
|
1518
|
+
export { AccessMatrix, type AccessMatrixPermission, type AccessMatrixProps, type AccessMatrixRole, Accordion, type AccordionItem, type AccordionProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, Activity, ActivityFeed, type ActivityFeedItem, type ActivityFeedProps, ActivityMenu, Alert, type AlertProps, type AlertTone, AnnouncementBar, type AnnouncementBarProps, AppShell, type AppShellProps, AppleIcon, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArrowLeft, ArrowRight, AuditLog, type AuditLogItem, type AuditLogProps, Avatar, type AvatarProps, Badge, Ban, BarChart, BarList, type BarListItem, type BarListProps, BaseModal, type BaseModalProps, Bell, Book, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, CalendarGrid, type CalendarGridDay, type CalendarGridProps, CalendarMonth, CalendarWeek, Callout, type CalloutProps, type CalloutTone, Card, CardBody, CardHeader, type CardPadding, type CardProps, type CardSectionProps, type CardVariant, Check, CheckCircle, CheckSquare, Checkbox, type CheckboxProps, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clipboard, Clock, Cluster, type ClusterProps, CodeBlock, type CodeBlockProps, type ColorSwatchOption, ColorSwatchPicker, type ColorSwatchPickerProps, type Column, type ColumnAlign, Combobox, type ComboboxOption, type ComboboxProps, type CommandGroup, type CommandItem, CommandMenu, type CommandMenuProps, Compare, ComparisonMeter, type ComparisonMeterProps, ComparisonTable, type ComparisonTableProps, type ComparisonTableRow, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, Copy, Cpu, CreditCard, DataTable, type DataTableDensity, type DataTableProps, type DataTableVariant, DataToolbar, type DataToolbarProps, Database, DateRangePicker, type DateRangePickerProps, DefaultErrorFallback, Divider, type DividerProps, DonutMetric, type DonutMetricProps, Download, Drawer, type DrawerProps, Edit, EmptyState, type EmptyStateProps, ErrorBoundary, ErrorState, ExternalLink, Eye, EyeOff, type FAQItem, FAQSection, type FAQSectionProps, Faculty, FeatureCard, type FeatureCardProps, type FeatureFlag, FeatureFlagTable, type FeatureFlagTableProps, FeatureGrid, type FeatureGridProps, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, FileDropzone, type FileDropzoneProps, FileText, FileUpload, FilterChip, type FilterChipProps, FingerprintIcon, FormError, type FormErrorProps, FormField, type FormFieldProps, FormIcon, FormulaIcon, FunnelChart, type FunnelChartProps, type FunnelStep, Gear, Globe, GooglePlayIcon, GraduationCap, Grid, GridBg, HardDrive, Hash, HealthIndicator, type HealthIndicatorProps, type HealthTone, type HeatmapCell, HeatmapGrid, type HeatmapGridProps, HelpCircle, HeroFrame, type HeroFrameProps, History, Home, Icons, Image, type InboxItem, InboxList, type InboxListProps, Info, InfoBanner, type InfoBannerProps, InlineStatus, type InlineStatusProps, type InlineStatusTone, Input, InputGroup, type InputGroupProps, type InputProps, IntegrationCard, type IntegrationCardProps, type IntegrationStatus, Intersect, KanbanBoard, type KanbanBoardProps, type KanbanCardItem, type KanbanColumn, Kbd, type KbdProps, type KeyValueItem, KeyValueList, type KeyValueListProps, Layers, LoadingOverlay, type LoadingOverlayProps, LockIcon, LogOut, LogoCloud, type LogoCloudItem, type LogoCloudProps, LogoMark, Mail, MarketingShell, type MarketingShellProps, MasonryGrid, type MasonryGridProps, Megaphone, Menu, MetricCard, type MetricCardProps, type MetricTrendTone, MockupFrame, type MockupFrameProps, Monitor, Moon, NavAnalytics, NavQrAttendance, NavScoresheet, NavSecurity, type NotificationItem, NotificationList, type NotificationListProps, NumberIcon, OfficeHours, PageHeader, type PageHeaderProps, PageRail, type PageRailItem, type PageRailProps, PageSpinner, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputProps, Pdf, PlanUsage, type PlanUsageItem, type PlanUsageProps, Plus, Popover, type PopoverProps, PricingCard, type PricingCardProps, Printer, Progress, type ProgressProps, QrCode, RadioButton, type RadioButtonProps, RatingInput, type RatingInputProps, Refresh, RefreshCw, Repeat, Report, ResourceCard, type ResourceCardProps, ResponsiveGrid, type ResponsiveGridProps, type RoadmapItem, RoadmapList, type RoadmapListProps, RotateCcw, SLAStatus, type SLAStatusProps, Scan, ScoreRing, type ScoreRingProps, Search, SearchInput, type SearchInputProps, SectionCard, type SectionCardProps, SectionIcons, SectionTitle, type SectionTitleProps, Select, type SelectProps, Server, type ServerSort, Shield, SidebarNav, type SidebarNavGroup, type SidebarNavItem, type SidebarNavProps, Skeleton, SkeletonBanner, SkeletonCard, SkeletonKpiCard, SkeletonPageHeader, type SkeletonProps, SkeletonTable, Slider, type SliderProps, Smartphone, type SortDirection, type SortState, Sparkline, type SparklineProps, Spinner, type SpinnerProps, SplitPane, type SplitPaneProps, Spotlight, Stack, type StackProps, Star, StatGrid, type StatGridProps, StatsBand, type StatsBandItem, type StatsBandProps, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, type StepItem, Stepper, type StepperProps, StickyBar, type StickyBarProps, Sun, Surface, type SurfacePadding, type SurfaceProps, type SurfaceVariant, Switch, type SwitchProps, type TabItem, Table, Tablet, Tabs, type TabsProps, TapizDocsPage, type TapizDocsPageProps, type TapizFrameworkPreset, type TapizPresetDefinition, TestimonialCard, type TestimonialCardProps, TextIcon, Textarea, TextareaCounter, type TextareaCounterProps, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, ToggleGroup, type ToggleGroupProps, type ToggleOption, Tooltip, type TooltipProps, TopNav, type TopNavLink, type TopNavProps, Trash, Trophy, TwoFAIcon, University, User, UserCheck, UserCog, UserMinus, UserPlus, Users, X, Zap, tapizFrameworkPresets, useToast };
|