@tapizlabs/ui 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -16
- package/LICENSE +21 -21
- package/README.md +358 -358
- package/dist/fonts.css +161 -161
- package/dist/fonts.js.map +1 -1
- package/dist/index.d.ts +92 -182
- package/dist/index.js +17 -350
- package/dist/index.js.map +1 -1
- package/dist/tailwind-theme.css +113 -113
- package/dist/theme.css +418 -418
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -174,9 +174,13 @@ declare const Icons: {
|
|
|
174
174
|
externalLink: react.JSX.Element;
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
+
interface BaseProps {
|
|
178
|
+
className?: string;
|
|
179
|
+
}
|
|
180
|
+
|
|
177
181
|
type Variant$1 = "primary" | "secondary" | "danger" | "ghost" | "success" | "warning" | "info" | "muted-primary" | "outline-primary" | "outline-secondary" | "outline-danger" | "outline-success" | "brutal" | "link";
|
|
178
182
|
type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
179
|
-
interface ButtonProps {
|
|
183
|
+
interface ButtonProps extends BaseProps {
|
|
180
184
|
children?: ReactNode;
|
|
181
185
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
182
186
|
disabled?: boolean;
|
|
@@ -185,7 +189,6 @@ interface ButtonProps {
|
|
|
185
189
|
size?: Size;
|
|
186
190
|
icon?: ButtonIcon;
|
|
187
191
|
iconRight?: ButtonIcon;
|
|
188
|
-
className?: string;
|
|
189
192
|
type?: "button" | "submit" | "reset";
|
|
190
193
|
title?: string;
|
|
191
194
|
fullWidth?: boolean;
|
|
@@ -264,9 +267,8 @@ interface ToastProviderProps {
|
|
|
264
267
|
declare function ToastProvider({ children }: ToastProviderProps): react.JSX.Element;
|
|
265
268
|
declare function useToast(): ToastContextValue;
|
|
266
269
|
|
|
267
|
-
interface FormErrorProps {
|
|
270
|
+
interface FormErrorProps extends BaseProps {
|
|
268
271
|
message: string | null | undefined;
|
|
269
|
-
className?: string;
|
|
270
272
|
}
|
|
271
273
|
declare function FormError({ message, className }: FormErrorProps): react.JSX.Element | null;
|
|
272
274
|
|
|
@@ -335,24 +337,21 @@ declare function Tooltip({ text, children, position, align, width, wFull }: Tool
|
|
|
335
337
|
|
|
336
338
|
type CardVariant = "surface" | "raised" | "outlined" | "brutal" | "glass";
|
|
337
339
|
type CardPadding = "none" | "sm" | "md" | "lg";
|
|
338
|
-
interface CardProps {
|
|
340
|
+
interface CardProps extends BaseProps {
|
|
339
341
|
children: ReactNode;
|
|
340
|
-
className?: string;
|
|
341
342
|
hover?: boolean;
|
|
342
343
|
style?: CSSProperties;
|
|
343
344
|
variant?: CardVariant;
|
|
344
345
|
padding?: CardPadding;
|
|
345
346
|
}
|
|
346
|
-
interface CardSectionProps {
|
|
347
|
+
interface CardSectionProps extends BaseProps {
|
|
347
348
|
children: ReactNode;
|
|
348
|
-
className?: string;
|
|
349
349
|
}
|
|
350
350
|
declare function Card({ children, className, hover, style, variant, padding, }: CardProps): react.JSX.Element;
|
|
351
351
|
declare function CardHeader({ children, className }: CardSectionProps): react.JSX.Element;
|
|
352
352
|
declare function CardBody({ children, className }: CardSectionProps): react.JSX.Element;
|
|
353
353
|
|
|
354
|
-
interface SkeletonProps {
|
|
355
|
-
className?: string;
|
|
354
|
+
interface SkeletonProps extends BaseProps {
|
|
356
355
|
}
|
|
357
356
|
declare function Skeleton({ className }: SkeletonProps): react.JSX.Element;
|
|
358
357
|
|
|
@@ -370,10 +369,9 @@ declare function SkeletonTable({ rows, cols }: {
|
|
|
370
369
|
declare function SkeletonPageHeader(): react.JSX.Element;
|
|
371
370
|
|
|
372
371
|
type Variant = "default" | "success" | "warning" | "danger" | "info" | "muted";
|
|
373
|
-
interface BadgeProps {
|
|
372
|
+
interface BadgeProps extends BaseProps {
|
|
374
373
|
children: ReactNode;
|
|
375
374
|
variant?: Variant;
|
|
376
|
-
className?: string;
|
|
377
375
|
}
|
|
378
376
|
declare function Badge({ children, variant, className }: BadgeProps): react.JSX.Element;
|
|
379
377
|
|
|
@@ -389,24 +387,22 @@ declare function ErrorState({ title, error, }: {
|
|
|
389
387
|
error: Error | null;
|
|
390
388
|
}): react.JSX.Element;
|
|
391
389
|
|
|
392
|
-
interface StructuredInfoBannerProps {
|
|
390
|
+
interface StructuredInfoBannerProps extends BaseProps {
|
|
393
391
|
title: string;
|
|
394
392
|
description: string;
|
|
395
393
|
text?: never;
|
|
396
394
|
variant?: never;
|
|
397
|
-
className?: string;
|
|
398
395
|
}
|
|
399
|
-
interface InlineInfoBannerProps {
|
|
396
|
+
interface InlineInfoBannerProps extends BaseProps {
|
|
400
397
|
text: string;
|
|
401
398
|
variant?: "info" | "warn" | "lock";
|
|
402
|
-
className?: string;
|
|
403
399
|
title?: never;
|
|
404
400
|
description?: never;
|
|
405
401
|
}
|
|
406
402
|
type InfoBannerProps = StructuredInfoBannerProps | InlineInfoBannerProps;
|
|
407
403
|
declare function InfoBanner(props: InfoBannerProps): react.JSX.Element;
|
|
408
404
|
|
|
409
|
-
interface PageHeaderProps {
|
|
405
|
+
interface PageHeaderProps extends BaseProps {
|
|
410
406
|
title: string;
|
|
411
407
|
subtitle?: string;
|
|
412
408
|
description?: ReactNode;
|
|
@@ -416,38 +412,34 @@ interface PageHeaderProps {
|
|
|
416
412
|
banner?: ReactNode;
|
|
417
413
|
breadcrumbs?: ReactNode;
|
|
418
414
|
meta?: ReactNode;
|
|
419
|
-
className?: string;
|
|
420
415
|
variant?: "default" | "enterprise" | "brutal";
|
|
421
416
|
}
|
|
422
417
|
declare function PageHeader({ title, subtitle, description, action, actions, icon, banner, breadcrumbs, meta, className, variant, }: PageHeaderProps): react.JSX.Element;
|
|
423
418
|
|
|
424
419
|
type MetricTrendTone = "positive" | "negative" | "neutral" | "warning";
|
|
425
|
-
interface MetricCardProps {
|
|
420
|
+
interface MetricCardProps extends BaseProps {
|
|
426
421
|
label: ReactNode;
|
|
427
422
|
value: ReactNode;
|
|
428
423
|
description?: ReactNode;
|
|
429
424
|
icon?: ReactNode;
|
|
430
425
|
trend?: ReactNode;
|
|
431
426
|
trendTone?: MetricTrendTone;
|
|
432
|
-
className?: string;
|
|
433
427
|
variant?: "surface" | "raised" | "brutal";
|
|
434
428
|
}
|
|
435
429
|
declare function MetricCard({ label, value, description, icon, trend, trendTone, className, variant, }: MetricCardProps): react.JSX.Element;
|
|
436
430
|
|
|
437
|
-
interface StatGridProps {
|
|
431
|
+
interface StatGridProps extends BaseProps {
|
|
438
432
|
children: ReactNode;
|
|
439
|
-
className?: string;
|
|
440
433
|
minColumnWidth?: string;
|
|
441
434
|
}
|
|
442
435
|
declare function StatGrid({ children, className, minColumnWidth }: StatGridProps): react.JSX.Element;
|
|
443
436
|
|
|
444
|
-
interface SectionCardProps {
|
|
437
|
+
interface SectionCardProps extends BaseProps {
|
|
445
438
|
title?: ReactNode;
|
|
446
439
|
eyebrow?: ReactNode;
|
|
447
440
|
description?: ReactNode;
|
|
448
441
|
action?: ReactNode;
|
|
449
442
|
children: ReactNode;
|
|
450
|
-
className?: string;
|
|
451
443
|
}
|
|
452
444
|
declare function SectionCard({ title, eyebrow, description, action, children, className }: SectionCardProps): react.JSX.Element;
|
|
453
445
|
|
|
@@ -488,17 +480,15 @@ interface PaginationProps {
|
|
|
488
480
|
}
|
|
489
481
|
declare function Pagination({ page, totalPages, onChange, totalItems, pageSize, labels }: PaginationProps): react.JSX.Element | null;
|
|
490
482
|
|
|
491
|
-
interface SectionTitleProps {
|
|
483
|
+
interface SectionTitleProps extends BaseProps {
|
|
492
484
|
children: ReactNode;
|
|
493
|
-
className?: string;
|
|
494
485
|
}
|
|
495
486
|
declare function SectionTitle({ children, className }: SectionTitleProps): react.JSX.Element;
|
|
496
487
|
|
|
497
488
|
type StatusBadgeVariant = "default" | "active" | "inactive" | "warning" | "success" | "danger" | "info" | "pending";
|
|
498
|
-
interface StatusBadgeProps {
|
|
489
|
+
interface StatusBadgeProps extends BaseProps {
|
|
499
490
|
label: ReactNode;
|
|
500
491
|
variant?: StatusBadgeVariant;
|
|
501
|
-
className?: string;
|
|
502
492
|
}
|
|
503
493
|
declare function StatusBadge({ label, variant, className }: StatusBadgeProps): react.JSX.Element;
|
|
504
494
|
|
|
@@ -623,56 +613,50 @@ interface DataTableProps<T> {
|
|
|
623
613
|
*/
|
|
624
614
|
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
615
|
|
|
626
|
-
interface MarketingShellProps {
|
|
616
|
+
interface MarketingShellProps extends BaseProps {
|
|
627
617
|
children: ReactNode;
|
|
628
|
-
className?: string;
|
|
629
618
|
grid?: boolean;
|
|
630
619
|
noise?: boolean;
|
|
631
620
|
}
|
|
632
621
|
declare function MarketingShell({ children, className, grid, noise }: MarketingShellProps): react.JSX.Element;
|
|
633
622
|
|
|
634
|
-
interface HeroFrameProps {
|
|
623
|
+
interface HeroFrameProps extends BaseProps {
|
|
635
624
|
eyebrow?: ReactNode;
|
|
636
625
|
title: ReactNode;
|
|
637
626
|
description?: ReactNode;
|
|
638
627
|
actions?: ReactNode;
|
|
639
628
|
visual?: ReactNode;
|
|
640
629
|
meta?: ReactNode;
|
|
641
|
-
className?: string;
|
|
642
630
|
}
|
|
643
631
|
declare function HeroFrame({ eyebrow, title, description, actions, visual, meta, className }: HeroFrameProps): react.JSX.Element;
|
|
644
632
|
|
|
645
|
-
interface FeatureCardProps {
|
|
633
|
+
interface FeatureCardProps extends BaseProps {
|
|
646
634
|
title: ReactNode;
|
|
647
635
|
description?: ReactNode;
|
|
648
636
|
icon?: ReactNode;
|
|
649
637
|
eyebrow?: ReactNode;
|
|
650
638
|
children?: ReactNode;
|
|
651
|
-
className?: string;
|
|
652
639
|
variant?: "surface" | "brutal" | "raised";
|
|
653
640
|
}
|
|
654
641
|
declare function FeatureCard({ title, description, icon, eyebrow, children, className, variant }: FeatureCardProps): react.JSX.Element;
|
|
655
642
|
|
|
656
|
-
interface FeatureGridProps {
|
|
643
|
+
interface FeatureGridProps extends BaseProps {
|
|
657
644
|
children: ReactNode;
|
|
658
|
-
className?: string;
|
|
659
645
|
}
|
|
660
646
|
declare function FeatureGrid({ children, className }: FeatureGridProps): react.JSX.Element;
|
|
661
647
|
|
|
662
|
-
interface CTASectionProps {
|
|
648
|
+
interface CTASectionProps extends BaseProps {
|
|
663
649
|
eyebrow?: ReactNode;
|
|
664
650
|
title: ReactNode;
|
|
665
651
|
description?: ReactNode;
|
|
666
652
|
actions?: ReactNode;
|
|
667
|
-
className?: string;
|
|
668
653
|
}
|
|
669
654
|
declare function CTASection({ eyebrow, title, description, actions, className }: CTASectionProps): react.JSX.Element;
|
|
670
655
|
|
|
671
|
-
interface MockupFrameProps {
|
|
656
|
+
interface MockupFrameProps extends BaseProps {
|
|
672
657
|
children: ReactNode;
|
|
673
658
|
title?: ReactNode;
|
|
674
659
|
toolbar?: ReactNode;
|
|
675
|
-
className?: string;
|
|
676
660
|
}
|
|
677
661
|
declare function MockupFrame({ children, title, toolbar, className }: MockupFrameProps): react.JSX.Element;
|
|
678
662
|
|
|
@@ -681,52 +665,47 @@ interface ComparisonTableRow {
|
|
|
681
665
|
included: ReactNode;
|
|
682
666
|
alternative?: ReactNode;
|
|
683
667
|
}
|
|
684
|
-
interface ComparisonTableProps {
|
|
668
|
+
interface ComparisonTableProps extends BaseProps {
|
|
685
669
|
rows: ComparisonTableRow[];
|
|
686
670
|
featureHeader?: ReactNode;
|
|
687
671
|
includedHeader?: ReactNode;
|
|
688
672
|
alternativeHeader?: ReactNode;
|
|
689
|
-
className?: string;
|
|
690
673
|
}
|
|
691
674
|
declare function ComparisonTable({ rows, featureHeader, includedHeader, alternativeHeader, className }: ComparisonTableProps): react.JSX.Element;
|
|
692
675
|
|
|
693
|
-
interface AppShellProps {
|
|
676
|
+
interface AppShellProps extends BaseProps {
|
|
694
677
|
sidebar?: ReactNode;
|
|
695
678
|
topbar?: ReactNode;
|
|
696
679
|
children: ReactNode;
|
|
697
680
|
aside?: ReactNode;
|
|
698
|
-
className?: string;
|
|
699
681
|
contentClassName?: string;
|
|
700
682
|
variant?: "default" | "grid" | "noise";
|
|
701
683
|
}
|
|
702
684
|
declare function AppShell({ sidebar, topbar, children, aside, className, contentClassName, variant }: AppShellProps): react.JSX.Element;
|
|
703
685
|
|
|
704
|
-
interface SplitPaneProps {
|
|
686
|
+
interface SplitPaneProps extends BaseProps {
|
|
705
687
|
primary: ReactNode;
|
|
706
688
|
secondary: ReactNode;
|
|
707
689
|
ratio?: "50/50" | "60/40" | "70/30";
|
|
708
690
|
reverseOnMobile?: boolean;
|
|
709
|
-
className?: string;
|
|
710
691
|
}
|
|
711
692
|
declare function SplitPane({ primary, secondary, ratio, reverseOnMobile, className }: SplitPaneProps): react.JSX.Element;
|
|
712
693
|
|
|
713
|
-
interface StackProps {
|
|
694
|
+
interface StackProps extends BaseProps {
|
|
714
695
|
children: ReactNode;
|
|
715
696
|
gap?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
716
697
|
direction?: "vertical" | "horizontal";
|
|
717
698
|
align?: "start" | "center" | "end" | "stretch";
|
|
718
699
|
justify?: "start" | "center" | "between" | "end";
|
|
719
700
|
wrap?: boolean;
|
|
720
|
-
className?: string;
|
|
721
701
|
}
|
|
722
702
|
declare function Stack({ children, gap, direction, align, justify, wrap, className }: StackProps): react.JSX.Element;
|
|
723
703
|
|
|
724
|
-
interface ClusterProps {
|
|
704
|
+
interface ClusterProps extends BaseProps {
|
|
725
705
|
children: ReactNode;
|
|
726
706
|
gap?: "xs" | "sm" | "md" | "lg";
|
|
727
707
|
align?: "start" | "center" | "end";
|
|
728
708
|
justify?: "start" | "center" | "between" | "end";
|
|
729
|
-
className?: string;
|
|
730
709
|
}
|
|
731
710
|
declare function Cluster({ children, gap, align, justify, className }: ClusterProps): react.JSX.Element;
|
|
732
711
|
|
|
@@ -735,10 +714,9 @@ interface BreadcrumbItem {
|
|
|
735
714
|
href?: string;
|
|
736
715
|
current?: boolean;
|
|
737
716
|
}
|
|
738
|
-
interface BreadcrumbsProps {
|
|
717
|
+
interface BreadcrumbsProps extends BaseProps {
|
|
739
718
|
items: BreadcrumbItem[];
|
|
740
719
|
separator?: ReactNode;
|
|
741
|
-
className?: string;
|
|
742
720
|
}
|
|
743
721
|
declare function Breadcrumbs({ items, separator, className }: BreadcrumbsProps): react.JSX.Element;
|
|
744
722
|
|
|
@@ -755,11 +733,10 @@ interface SidebarNavGroup {
|
|
|
755
733
|
label?: ReactNode;
|
|
756
734
|
items: SidebarNavItem[];
|
|
757
735
|
}
|
|
758
|
-
interface SidebarNavProps {
|
|
736
|
+
interface SidebarNavProps extends BaseProps {
|
|
759
737
|
groups: SidebarNavGroup[];
|
|
760
738
|
header?: ReactNode;
|
|
761
739
|
footer?: ReactNode;
|
|
762
|
-
className?: string;
|
|
763
740
|
}
|
|
764
741
|
declare function SidebarNav({ groups, header, footer, className }: SidebarNavProps): react.JSX.Element;
|
|
765
742
|
|
|
@@ -769,11 +746,10 @@ interface TopNavLink {
|
|
|
769
746
|
active?: boolean;
|
|
770
747
|
onClick?: () => void;
|
|
771
748
|
}
|
|
772
|
-
interface TopNavProps {
|
|
749
|
+
interface TopNavProps extends BaseProps {
|
|
773
750
|
brand?: ReactNode;
|
|
774
751
|
links?: TopNavLink[];
|
|
775
752
|
actions?: ReactNode;
|
|
776
|
-
className?: string;
|
|
777
753
|
sticky?: boolean;
|
|
778
754
|
}
|
|
779
755
|
declare function TopNav({ brand, links, actions, className, sticky }: TopNavProps): react.JSX.Element;
|
|
@@ -785,11 +761,10 @@ interface TabItem {
|
|
|
785
761
|
badge?: ReactNode;
|
|
786
762
|
disabled?: boolean;
|
|
787
763
|
}
|
|
788
|
-
interface TabsProps {
|
|
764
|
+
interface TabsProps extends BaseProps {
|
|
789
765
|
items: TabItem[];
|
|
790
766
|
activeId: string;
|
|
791
767
|
onChange?: (id: string) => void;
|
|
792
|
-
className?: string;
|
|
793
768
|
variant?: "line" | "boxed" | "brutal";
|
|
794
769
|
}
|
|
795
770
|
declare function Tabs({ items, activeId, onChange, className, variant }: TabsProps): react.JSX.Element;
|
|
@@ -801,11 +776,10 @@ interface AccordionItem {
|
|
|
801
776
|
meta?: ReactNode;
|
|
802
777
|
disabled?: boolean;
|
|
803
778
|
}
|
|
804
|
-
interface AccordionProps {
|
|
779
|
+
interface AccordionProps extends BaseProps {
|
|
805
780
|
items: AccordionItem[];
|
|
806
781
|
openIds?: string[];
|
|
807
782
|
onToggle?: (id: string) => void;
|
|
808
|
-
className?: string;
|
|
809
783
|
allowMultiple?: boolean;
|
|
810
784
|
}
|
|
811
785
|
declare function Accordion({ items, openIds, onToggle, className }: AccordionProps): react.JSX.Element;
|
|
@@ -816,14 +790,13 @@ interface StepItem {
|
|
|
816
790
|
description?: ReactNode;
|
|
817
791
|
status?: "complete" | "current" | "upcoming" | "error";
|
|
818
792
|
}
|
|
819
|
-
interface StepperProps {
|
|
793
|
+
interface StepperProps extends BaseProps {
|
|
820
794
|
steps: StepItem[];
|
|
821
795
|
orientation?: "horizontal" | "vertical";
|
|
822
|
-
className?: string;
|
|
823
796
|
}
|
|
824
797
|
declare function Stepper({ steps, orientation, className }: StepperProps): react.JSX.Element;
|
|
825
798
|
|
|
826
|
-
interface DrawerProps {
|
|
799
|
+
interface DrawerProps extends BaseProps {
|
|
827
800
|
open: boolean;
|
|
828
801
|
onClose?: () => void;
|
|
829
802
|
title?: ReactNode;
|
|
@@ -831,16 +804,14 @@ interface DrawerProps {
|
|
|
831
804
|
children: ReactNode;
|
|
832
805
|
footer?: ReactNode;
|
|
833
806
|
side?: "left" | "right";
|
|
834
|
-
className?: string;
|
|
835
807
|
}
|
|
836
808
|
declare function Drawer({ open, onClose, title, description, children, footer, side, className }: DrawerProps): react.JSX.Element | null;
|
|
837
809
|
|
|
838
|
-
interface PopoverProps {
|
|
810
|
+
interface PopoverProps extends BaseProps {
|
|
839
811
|
trigger: ReactNode;
|
|
840
812
|
children: ReactNode;
|
|
841
813
|
open?: boolean;
|
|
842
814
|
align?: "start" | "end";
|
|
843
|
-
className?: string;
|
|
844
815
|
}
|
|
845
816
|
declare function Popover({ trigger, children, open, align, className }: PopoverProps): react.JSX.Element;
|
|
846
817
|
|
|
@@ -868,24 +839,22 @@ interface CommandMenuProps {
|
|
|
868
839
|
}
|
|
869
840
|
declare function CommandMenu({ open, onClose, query, onQueryChange, groups, placeholder, empty }: CommandMenuProps): react.JSX.Element | null;
|
|
870
841
|
|
|
871
|
-
interface FormFieldProps {
|
|
842
|
+
interface FormFieldProps extends BaseProps {
|
|
872
843
|
label?: ReactNode;
|
|
873
844
|
hint?: ReactNode;
|
|
874
845
|
error?: ReactNode;
|
|
875
846
|
required?: boolean;
|
|
876
847
|
htmlFor?: string;
|
|
877
848
|
children: ReactNode;
|
|
878
|
-
className?: string;
|
|
879
849
|
}
|
|
880
850
|
declare function FormField({ label, hint, error, required, htmlFor, children, className }: FormFieldProps): react.JSX.Element;
|
|
881
851
|
|
|
882
|
-
interface SwitchProps {
|
|
852
|
+
interface SwitchProps extends BaseProps {
|
|
883
853
|
checked?: boolean;
|
|
884
854
|
onChange?: (checked: boolean) => void;
|
|
885
855
|
disabled?: boolean;
|
|
886
856
|
label?: ReactNode;
|
|
887
857
|
description?: ReactNode;
|
|
888
|
-
className?: string;
|
|
889
858
|
}
|
|
890
859
|
declare function Switch({ checked, onChange, disabled, label, description, className }: SwitchProps): react.JSX.Element;
|
|
891
860
|
|
|
@@ -894,55 +863,49 @@ interface ToggleOption {
|
|
|
894
863
|
label: ReactNode;
|
|
895
864
|
disabled?: boolean;
|
|
896
865
|
}
|
|
897
|
-
interface ToggleGroupProps {
|
|
866
|
+
interface ToggleGroupProps extends BaseProps {
|
|
898
867
|
options: ToggleOption[];
|
|
899
868
|
value?: string;
|
|
900
869
|
onChange?: (value: string) => void;
|
|
901
|
-
className?: string;
|
|
902
870
|
fullWidth?: boolean;
|
|
903
871
|
}
|
|
904
872
|
declare function ToggleGroup({ options, value, onChange, className, fullWidth }: ToggleGroupProps): react.JSX.Element;
|
|
905
873
|
|
|
906
|
-
interface InputGroupProps {
|
|
874
|
+
interface InputGroupProps extends BaseProps {
|
|
907
875
|
prefix?: ReactNode;
|
|
908
876
|
suffix?: ReactNode;
|
|
909
877
|
children: ReactNode;
|
|
910
|
-
className?: string;
|
|
911
878
|
}
|
|
912
879
|
declare function InputGroup({ prefix, suffix, children, className }: InputGroupProps): react.JSX.Element;
|
|
913
880
|
|
|
914
881
|
type AlertTone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
915
|
-
interface AlertProps {
|
|
882
|
+
interface AlertProps extends BaseProps {
|
|
916
883
|
tone?: AlertTone;
|
|
917
884
|
title?: ReactNode;
|
|
918
885
|
children?: ReactNode;
|
|
919
886
|
icon?: ReactNode;
|
|
920
887
|
actions?: ReactNode;
|
|
921
|
-
className?: string;
|
|
922
888
|
}
|
|
923
889
|
declare function Alert({ tone, title, children, icon, actions, className }: AlertProps): react.JSX.Element;
|
|
924
890
|
|
|
925
|
-
interface ProgressProps {
|
|
891
|
+
interface ProgressProps extends BaseProps {
|
|
926
892
|
value: number;
|
|
927
893
|
max?: number;
|
|
928
894
|
label?: string;
|
|
929
895
|
showValue?: boolean;
|
|
930
896
|
tone?: "accent" | "success" | "warning" | "danger";
|
|
931
|
-
className?: string;
|
|
932
897
|
}
|
|
933
898
|
declare function Progress({ value, max, label, showValue, tone, className }: ProgressProps): react.JSX.Element;
|
|
934
899
|
|
|
935
|
-
interface AvatarProps {
|
|
900
|
+
interface AvatarProps extends BaseProps {
|
|
936
901
|
src?: string;
|
|
937
902
|
name?: string;
|
|
938
903
|
size?: "xs" | "sm" | "md" | "lg";
|
|
939
|
-
className?: string;
|
|
940
904
|
}
|
|
941
905
|
declare function Avatar({ src, name, size, className }: AvatarProps): react.JSX.Element;
|
|
942
906
|
|
|
943
|
-
interface KbdProps {
|
|
907
|
+
interface KbdProps extends BaseProps {
|
|
944
908
|
children: ReactNode;
|
|
945
|
-
className?: string;
|
|
946
909
|
}
|
|
947
910
|
declare function Kbd({ children, className }: KbdProps): react.JSX.Element;
|
|
948
911
|
|
|
@@ -954,9 +917,8 @@ interface TimelineItem {
|
|
|
954
917
|
icon?: ReactNode;
|
|
955
918
|
tone?: "neutral" | "info" | "success" | "warning" | "danger";
|
|
956
919
|
}
|
|
957
|
-
interface TimelineProps {
|
|
920
|
+
interface TimelineProps extends BaseProps {
|
|
958
921
|
items: TimelineItem[];
|
|
959
|
-
className?: string;
|
|
960
922
|
}
|
|
961
923
|
declare function Timeline({ items, className }: TimelineProps): react.JSX.Element;
|
|
962
924
|
|
|
@@ -965,19 +927,17 @@ interface KeyValueItem {
|
|
|
965
927
|
value: ReactNode;
|
|
966
928
|
description?: ReactNode;
|
|
967
929
|
}
|
|
968
|
-
interface KeyValueListProps {
|
|
930
|
+
interface KeyValueListProps extends BaseProps {
|
|
969
931
|
items: KeyValueItem[];
|
|
970
|
-
className?: string;
|
|
971
932
|
density?: "compact" | "normal";
|
|
972
933
|
}
|
|
973
934
|
declare function KeyValueList({ items, className, density }: KeyValueListProps): react.JSX.Element;
|
|
974
935
|
|
|
975
|
-
interface CodeBlockProps {
|
|
936
|
+
interface CodeBlockProps extends BaseProps {
|
|
976
937
|
children: ReactNode;
|
|
977
938
|
language?: string;
|
|
978
939
|
title?: ReactNode;
|
|
979
940
|
actions?: ReactNode;
|
|
980
|
-
className?: string;
|
|
981
941
|
}
|
|
982
942
|
declare function CodeBlock({ children, language, title, actions, className }: CodeBlockProps): react.JSX.Element;
|
|
983
943
|
|
|
@@ -985,31 +945,28 @@ interface LogoCloudItem {
|
|
|
985
945
|
name: string;
|
|
986
946
|
logo?: ReactNode;
|
|
987
947
|
}
|
|
988
|
-
interface LogoCloudProps {
|
|
948
|
+
interface LogoCloudProps extends BaseProps {
|
|
989
949
|
title?: ReactNode;
|
|
990
950
|
items: LogoCloudItem[];
|
|
991
|
-
className?: string;
|
|
992
951
|
}
|
|
993
952
|
declare function LogoCloud({ title, items, className }: LogoCloudProps): react.JSX.Element;
|
|
994
953
|
|
|
995
|
-
interface TestimonialCardProps {
|
|
954
|
+
interface TestimonialCardProps extends BaseProps {
|
|
996
955
|
quote: ReactNode;
|
|
997
956
|
author: string;
|
|
998
957
|
role?: ReactNode;
|
|
999
958
|
avatarSrc?: string;
|
|
1000
|
-
className?: string;
|
|
1001
959
|
variant?: "surface" | "brutal";
|
|
1002
960
|
}
|
|
1003
961
|
declare function TestimonialCard({ quote, author, role, avatarSrc, className, variant }: TestimonialCardProps): react.JSX.Element;
|
|
1004
962
|
|
|
1005
|
-
interface PricingCardProps {
|
|
963
|
+
interface PricingCardProps extends BaseProps {
|
|
1006
964
|
name: ReactNode;
|
|
1007
965
|
price: ReactNode;
|
|
1008
966
|
description?: ReactNode;
|
|
1009
967
|
features?: ReactNode[];
|
|
1010
968
|
cta?: ReactNode;
|
|
1011
969
|
highlighted?: boolean;
|
|
1012
|
-
className?: string;
|
|
1013
970
|
}
|
|
1014
971
|
declare function PricingCard({ name, price, description, features, cta, highlighted, className }: PricingCardProps): react.JSX.Element;
|
|
1015
972
|
|
|
@@ -1018,9 +975,8 @@ interface StatsBandItem {
|
|
|
1018
975
|
label: ReactNode;
|
|
1019
976
|
description?: ReactNode;
|
|
1020
977
|
}
|
|
1021
|
-
interface StatsBandProps {
|
|
978
|
+
interface StatsBandProps extends BaseProps {
|
|
1022
979
|
items: StatsBandItem[];
|
|
1023
|
-
className?: string;
|
|
1024
980
|
}
|
|
1025
981
|
declare function StatsBand({ items, className }: StatsBandProps): react.JSX.Element;
|
|
1026
982
|
|
|
@@ -1034,49 +990,44 @@ interface TapizPresetDefinition {
|
|
|
1034
990
|
declare const tapizFrameworkPresets: Record<TapizFrameworkPreset, TapizPresetDefinition>;
|
|
1035
991
|
|
|
1036
992
|
type ContainerSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
1037
|
-
interface ContainerProps {
|
|
993
|
+
interface ContainerProps extends BaseProps {
|
|
1038
994
|
children: ReactNode;
|
|
1039
995
|
size?: ContainerSize;
|
|
1040
996
|
padded?: boolean;
|
|
1041
|
-
className?: string;
|
|
1042
997
|
style?: CSSProperties;
|
|
1043
998
|
}
|
|
1044
999
|
declare function Container({ children, size, padded, className, style }: ContainerProps): react.JSX.Element;
|
|
1045
1000
|
|
|
1046
1001
|
type SurfaceVariant = "canvas" | "surface" | "raised" | "muted" | "brutal" | "inverse";
|
|
1047
1002
|
type SurfacePadding = "none" | "sm" | "md" | "lg" | "xl";
|
|
1048
|
-
interface SurfaceProps {
|
|
1003
|
+
interface SurfaceProps extends BaseProps {
|
|
1049
1004
|
children: ReactNode;
|
|
1050
1005
|
variant?: SurfaceVariant;
|
|
1051
1006
|
padding?: SurfacePadding;
|
|
1052
1007
|
bordered?: boolean;
|
|
1053
|
-
className?: string;
|
|
1054
1008
|
style?: CSSProperties;
|
|
1055
1009
|
}
|
|
1056
1010
|
declare function Surface({ children, variant, padding, bordered, className, style }: SurfaceProps): react.JSX.Element;
|
|
1057
1011
|
|
|
1058
|
-
interface DividerProps {
|
|
1012
|
+
interface DividerProps extends BaseProps {
|
|
1059
1013
|
orientation?: "horizontal" | "vertical";
|
|
1060
1014
|
label?: string;
|
|
1061
|
-
className?: string;
|
|
1062
1015
|
}
|
|
1063
1016
|
declare function Divider({ orientation, label, className }: DividerProps): react.JSX.Element;
|
|
1064
1017
|
|
|
1065
|
-
interface ResponsiveGridProps {
|
|
1018
|
+
interface ResponsiveGridProps extends BaseProps {
|
|
1066
1019
|
children: ReactNode;
|
|
1067
1020
|
min?: string;
|
|
1068
1021
|
gap?: "sm" | "md" | "lg" | "xl";
|
|
1069
|
-
className?: string;
|
|
1070
1022
|
style?: CSSProperties;
|
|
1071
1023
|
}
|
|
1072
1024
|
declare function ResponsiveGrid({ children, min, gap, className, style }: ResponsiveGridProps): react.JSX.Element;
|
|
1073
1025
|
|
|
1074
|
-
interface SparklineProps {
|
|
1026
|
+
interface SparklineProps extends BaseProps {
|
|
1075
1027
|
values: number[];
|
|
1076
1028
|
width?: number;
|
|
1077
1029
|
height?: number;
|
|
1078
1030
|
label?: string;
|
|
1079
|
-
className?: string;
|
|
1080
1031
|
style?: CSSProperties;
|
|
1081
1032
|
}
|
|
1082
1033
|
declare function Sparkline({ values, width, height, label, className, style }: SparklineProps): react.JSX.Element;
|
|
@@ -1086,43 +1037,39 @@ interface BarListItem {
|
|
|
1086
1037
|
value: number;
|
|
1087
1038
|
detail?: ReactNode;
|
|
1088
1039
|
}
|
|
1089
|
-
interface BarListProps {
|
|
1040
|
+
interface BarListProps extends BaseProps {
|
|
1090
1041
|
items: BarListItem[];
|
|
1091
1042
|
max?: number;
|
|
1092
1043
|
valueFormatter?: (value: number) => ReactNode;
|
|
1093
|
-
className?: string;
|
|
1094
1044
|
}
|
|
1095
1045
|
declare function BarList({ items, max, valueFormatter, className }: BarListProps): react.JSX.Element;
|
|
1096
1046
|
|
|
1097
|
-
interface DonutMetricProps {
|
|
1047
|
+
interface DonutMetricProps extends BaseProps {
|
|
1098
1048
|
value: number;
|
|
1099
1049
|
max?: number;
|
|
1100
1050
|
label?: ReactNode;
|
|
1101
1051
|
caption?: ReactNode;
|
|
1102
1052
|
size?: number;
|
|
1103
|
-
className?: string;
|
|
1104
1053
|
}
|
|
1105
1054
|
declare function DonutMetric({ value, max, label, caption, size, className }: DonutMetricProps): react.JSX.Element;
|
|
1106
1055
|
|
|
1107
|
-
interface FilterChipProps {
|
|
1056
|
+
interface FilterChipProps extends BaseProps {
|
|
1108
1057
|
children: ReactNode;
|
|
1109
1058
|
active?: boolean;
|
|
1110
1059
|
onRemove?: () => void;
|
|
1111
|
-
className?: string;
|
|
1112
1060
|
}
|
|
1113
1061
|
declare function FilterChip({ children, active, onRemove, className }: FilterChipProps): react.JSX.Element;
|
|
1114
1062
|
|
|
1115
|
-
interface DataToolbarProps {
|
|
1063
|
+
interface DataToolbarProps extends BaseProps {
|
|
1116
1064
|
title?: ReactNode;
|
|
1117
1065
|
description?: ReactNode;
|
|
1118
1066
|
search?: ReactNode;
|
|
1119
1067
|
filters?: ReactNode;
|
|
1120
1068
|
actions?: ReactNode;
|
|
1121
|
-
className?: string;
|
|
1122
1069
|
}
|
|
1123
1070
|
declare function DataToolbar({ title, description, search, filters, actions, className }: DataToolbarProps): react.JSX.Element;
|
|
1124
1071
|
|
|
1125
|
-
interface ResourceCardProps {
|
|
1072
|
+
interface ResourceCardProps extends BaseProps {
|
|
1126
1073
|
title: ReactNode;
|
|
1127
1074
|
description?: ReactNode;
|
|
1128
1075
|
eyebrow?: ReactNode;
|
|
@@ -1131,28 +1078,25 @@ interface ResourceCardProps {
|
|
|
1131
1078
|
status?: ReactNode;
|
|
1132
1079
|
actions?: ReactNode;
|
|
1133
1080
|
href?: string;
|
|
1134
|
-
className?: string;
|
|
1135
1081
|
}
|
|
1136
1082
|
declare function ResourceCard({ title, description, eyebrow, icon, meta, status, actions, href, className }: ResourceCardProps): react.JSX.Element;
|
|
1137
1083
|
|
|
1138
1084
|
type IntegrationStatus = "connected" | "disconnected" | "syncing" | "error";
|
|
1139
|
-
interface IntegrationCardProps {
|
|
1085
|
+
interface IntegrationCardProps extends BaseProps {
|
|
1140
1086
|
name: ReactNode;
|
|
1141
1087
|
description?: ReactNode;
|
|
1142
1088
|
logo?: ReactNode;
|
|
1143
1089
|
status?: IntegrationStatus;
|
|
1144
1090
|
lastSync?: ReactNode;
|
|
1145
1091
|
actions?: ReactNode;
|
|
1146
|
-
className?: string;
|
|
1147
1092
|
}
|
|
1148
1093
|
declare function IntegrationCard({ name, description, logo, status, lastSync, actions, className }: IntegrationCardProps): react.JSX.Element;
|
|
1149
1094
|
|
|
1150
1095
|
type HealthTone = "operational" | "degraded" | "outage" | "unknown";
|
|
1151
|
-
interface HealthIndicatorProps {
|
|
1096
|
+
interface HealthIndicatorProps extends BaseProps {
|
|
1152
1097
|
tone?: HealthTone;
|
|
1153
1098
|
label?: ReactNode;
|
|
1154
1099
|
detail?: ReactNode;
|
|
1155
|
-
className?: string;
|
|
1156
1100
|
}
|
|
1157
1101
|
declare function HealthIndicator({ tone, label, detail, className }: HealthIndicatorProps): react.JSX.Element;
|
|
1158
1102
|
|
|
@@ -1163,9 +1107,8 @@ interface AuditLogItem {
|
|
|
1163
1107
|
detail?: ReactNode;
|
|
1164
1108
|
initials?: string;
|
|
1165
1109
|
}
|
|
1166
|
-
interface AuditLogProps {
|
|
1110
|
+
interface AuditLogProps extends BaseProps {
|
|
1167
1111
|
items: AuditLogItem[];
|
|
1168
|
-
className?: string;
|
|
1169
1112
|
}
|
|
1170
1113
|
declare function AuditLog({ items, className }: AuditLogProps): react.JSX.Element;
|
|
1171
1114
|
|
|
@@ -1182,9 +1125,8 @@ interface KanbanColumn {
|
|
|
1182
1125
|
description?: ReactNode;
|
|
1183
1126
|
items: KanbanCardItem[];
|
|
1184
1127
|
}
|
|
1185
|
-
interface KanbanBoardProps {
|
|
1128
|
+
interface KanbanBoardProps extends BaseProps {
|
|
1186
1129
|
columns: KanbanColumn[];
|
|
1187
|
-
className?: string;
|
|
1188
1130
|
}
|
|
1189
1131
|
declare function KanbanBoard({ columns, className }: KanbanBoardProps): react.JSX.Element;
|
|
1190
1132
|
|
|
@@ -1198,10 +1140,9 @@ interface AccessMatrixPermission {
|
|
|
1198
1140
|
description?: ReactNode;
|
|
1199
1141
|
roles: Record<string, boolean>;
|
|
1200
1142
|
}
|
|
1201
|
-
interface AccessMatrixProps {
|
|
1143
|
+
interface AccessMatrixProps extends BaseProps {
|
|
1202
1144
|
roles: AccessMatrixRole[];
|
|
1203
1145
|
permissions: AccessMatrixPermission[];
|
|
1204
|
-
className?: string;
|
|
1205
1146
|
}
|
|
1206
1147
|
declare function AccessMatrix({ roles, permissions, className }: AccessMatrixProps): react.JSX.Element;
|
|
1207
1148
|
|
|
@@ -1212,10 +1153,9 @@ interface CalendarGridDay {
|
|
|
1212
1153
|
selected?: boolean;
|
|
1213
1154
|
events?: ReactNode[];
|
|
1214
1155
|
}
|
|
1215
|
-
interface CalendarGridProps {
|
|
1156
|
+
interface CalendarGridProps extends BaseProps {
|
|
1216
1157
|
days: CalendarGridDay[];
|
|
1217
1158
|
weekdays?: ReactNode[];
|
|
1218
|
-
className?: string;
|
|
1219
1159
|
}
|
|
1220
1160
|
declare function CalendarGrid({ days, weekdays, className }: CalendarGridProps): react.JSX.Element;
|
|
1221
1161
|
|
|
@@ -1229,7 +1169,6 @@ interface FileDropzoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
|
|
|
1229
1169
|
title?: ReactNode;
|
|
1230
1170
|
description?: ReactNode;
|
|
1231
1171
|
actionLabel?: ReactNode;
|
|
1232
|
-
className?: string;
|
|
1233
1172
|
}
|
|
1234
1173
|
declare function FileDropzone({ title, description, actionLabel, className, ...props }: FileDropzoneProps): react.JSX.Element;
|
|
1235
1174
|
|
|
@@ -1245,21 +1184,19 @@ interface TextareaCounterProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
1245
1184
|
declare function TextareaCounter({ maxLength, value, className, ...props }: TextareaCounterProps): react.JSX.Element;
|
|
1246
1185
|
|
|
1247
1186
|
type CalloutTone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
1248
|
-
interface CalloutProps {
|
|
1187
|
+
interface CalloutProps extends BaseProps {
|
|
1249
1188
|
title?: ReactNode;
|
|
1250
1189
|
children?: ReactNode;
|
|
1251
1190
|
tone?: CalloutTone;
|
|
1252
1191
|
icon?: ReactNode;
|
|
1253
1192
|
actions?: ReactNode;
|
|
1254
|
-
className?: string;
|
|
1255
1193
|
}
|
|
1256
1194
|
declare function Callout({ title, children, tone, icon, actions, className }: CalloutProps): react.JSX.Element;
|
|
1257
1195
|
|
|
1258
|
-
interface LoadingOverlayProps {
|
|
1196
|
+
interface LoadingOverlayProps extends BaseProps {
|
|
1259
1197
|
visible?: boolean;
|
|
1260
1198
|
label?: ReactNode;
|
|
1261
1199
|
children: ReactNode;
|
|
1262
|
-
className?: string;
|
|
1263
1200
|
}
|
|
1264
1201
|
declare function LoadingOverlay({ visible, label, children, className }: LoadingOverlayProps): react.JSX.Element;
|
|
1265
1202
|
|
|
@@ -1271,23 +1208,15 @@ interface NotificationItem {
|
|
|
1271
1208
|
unread?: boolean;
|
|
1272
1209
|
action?: ReactNode;
|
|
1273
1210
|
}
|
|
1274
|
-
interface NotificationListProps {
|
|
1211
|
+
interface NotificationListProps extends BaseProps {
|
|
1275
1212
|
items: NotificationItem[];
|
|
1276
|
-
className?: string;
|
|
1277
1213
|
}
|
|
1278
1214
|
declare function NotificationList({ items, className }: NotificationListProps): react.JSX.Element;
|
|
1279
1215
|
|
|
1280
|
-
interface
|
|
1281
|
-
title?: string;
|
|
1282
|
-
subtitle?: string;
|
|
1283
|
-
}
|
|
1284
|
-
declare function TapizDocsPage({ title, subtitle }: TapizDocsPageProps): react.JSX.Element;
|
|
1285
|
-
|
|
1286
|
-
interface MasonryGridProps {
|
|
1216
|
+
interface MasonryGridProps extends BaseProps {
|
|
1287
1217
|
children: ReactNode;
|
|
1288
1218
|
columns?: 2 | 3 | 4;
|
|
1289
1219
|
gap?: "sm" | "md" | "lg";
|
|
1290
|
-
className?: string;
|
|
1291
1220
|
style?: CSSProperties;
|
|
1292
1221
|
}
|
|
1293
1222
|
declare function MasonryGrid({ children, columns, gap, className, style }: MasonryGridProps): react.JSX.Element;
|
|
@@ -1298,19 +1227,17 @@ interface PageRailItem {
|
|
|
1298
1227
|
active?: boolean;
|
|
1299
1228
|
meta?: ReactNode;
|
|
1300
1229
|
}
|
|
1301
|
-
interface PageRailProps {
|
|
1230
|
+
interface PageRailProps extends BaseProps {
|
|
1302
1231
|
title?: ReactNode;
|
|
1303
1232
|
items: PageRailItem[];
|
|
1304
1233
|
actions?: ReactNode;
|
|
1305
|
-
className?: string;
|
|
1306
1234
|
style?: CSSProperties;
|
|
1307
1235
|
}
|
|
1308
1236
|
declare function PageRail({ title, items, actions, className, style }: PageRailProps): react.JSX.Element;
|
|
1309
1237
|
|
|
1310
|
-
interface StickyBarProps {
|
|
1238
|
+
interface StickyBarProps extends BaseProps {
|
|
1311
1239
|
children: ReactNode;
|
|
1312
1240
|
position?: "top" | "bottom";
|
|
1313
|
-
className?: string;
|
|
1314
1241
|
style?: CSSProperties;
|
|
1315
1242
|
}
|
|
1316
1243
|
declare function StickyBar({ children, position, className, style }: StickyBarProps): react.JSX.Element;
|
|
@@ -1327,12 +1254,11 @@ interface ComboboxProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "c
|
|
|
1327
1254
|
}
|
|
1328
1255
|
declare function Combobox({ options, placeholder, invalid, className, ...props }: ComboboxProps): react.JSX.Element;
|
|
1329
1256
|
|
|
1330
|
-
interface DateRangePickerProps {
|
|
1257
|
+
interface DateRangePickerProps extends BaseProps {
|
|
1331
1258
|
startLabel?: string;
|
|
1332
1259
|
endLabel?: string;
|
|
1333
1260
|
startProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
1334
1261
|
endProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
1335
|
-
className?: string;
|
|
1336
1262
|
}
|
|
1337
1263
|
declare function DateRangePicker({ startLabel, endLabel, startProps, endProps, className }: DateRangePickerProps): react.JSX.Element;
|
|
1338
1264
|
|
|
@@ -1341,30 +1267,27 @@ interface ColorSwatchOption {
|
|
|
1341
1267
|
label: ReactNode;
|
|
1342
1268
|
color: string;
|
|
1343
1269
|
}
|
|
1344
|
-
interface ColorSwatchPickerProps {
|
|
1270
|
+
interface ColorSwatchPickerProps extends BaseProps {
|
|
1345
1271
|
options: ColorSwatchOption[];
|
|
1346
1272
|
value?: string;
|
|
1347
1273
|
onChange?: (value: string) => void;
|
|
1348
|
-
className?: string;
|
|
1349
1274
|
}
|
|
1350
1275
|
declare function ColorSwatchPicker({ options, value, onChange, className }: ColorSwatchPickerProps): react.JSX.Element;
|
|
1351
1276
|
|
|
1352
|
-
interface RatingInputProps {
|
|
1277
|
+
interface RatingInputProps extends BaseProps {
|
|
1353
1278
|
value?: number;
|
|
1354
1279
|
max?: number;
|
|
1355
1280
|
icon?: ReactNode;
|
|
1356
1281
|
onChange?: (value: number) => void;
|
|
1357
1282
|
label?: string;
|
|
1358
|
-
className?: string;
|
|
1359
1283
|
}
|
|
1360
1284
|
declare function RatingInput({ value, max, icon, onChange, label, className }: RatingInputProps): react.JSX.Element;
|
|
1361
1285
|
|
|
1362
|
-
interface ScoreRingProps {
|
|
1286
|
+
interface ScoreRingProps extends BaseProps {
|
|
1363
1287
|
value: number;
|
|
1364
1288
|
max?: number;
|
|
1365
1289
|
label?: ReactNode;
|
|
1366
1290
|
size?: number;
|
|
1367
|
-
className?: string;
|
|
1368
1291
|
}
|
|
1369
1292
|
declare function ScoreRing({ value, max, label, size, className }: ScoreRingProps): react.JSX.Element;
|
|
1370
1293
|
|
|
@@ -1373,11 +1296,10 @@ interface HeatmapCell {
|
|
|
1373
1296
|
label?: ReactNode;
|
|
1374
1297
|
title?: string;
|
|
1375
1298
|
}
|
|
1376
|
-
interface HeatmapGridProps {
|
|
1299
|
+
interface HeatmapGridProps extends BaseProps {
|
|
1377
1300
|
cells: HeatmapCell[];
|
|
1378
1301
|
columns?: number;
|
|
1379
1302
|
max?: number;
|
|
1380
|
-
className?: string;
|
|
1381
1303
|
}
|
|
1382
1304
|
declare function HeatmapGrid({ cells, columns, max, className }: HeatmapGridProps): react.JSX.Element;
|
|
1383
1305
|
|
|
@@ -1386,17 +1308,15 @@ interface FunnelStep {
|
|
|
1386
1308
|
value: number;
|
|
1387
1309
|
meta?: ReactNode;
|
|
1388
1310
|
}
|
|
1389
|
-
interface FunnelChartProps {
|
|
1311
|
+
interface FunnelChartProps extends BaseProps {
|
|
1390
1312
|
steps: FunnelStep[];
|
|
1391
|
-
className?: string;
|
|
1392
1313
|
}
|
|
1393
1314
|
declare function FunnelChart({ steps, className }: FunnelChartProps): react.JSX.Element;
|
|
1394
1315
|
|
|
1395
|
-
interface ComparisonMeterProps {
|
|
1316
|
+
interface ComparisonMeterProps extends BaseProps {
|
|
1396
1317
|
leftLabel: ReactNode;
|
|
1397
1318
|
rightLabel: ReactNode;
|
|
1398
1319
|
value: number;
|
|
1399
|
-
className?: string;
|
|
1400
1320
|
}
|
|
1401
1321
|
declare function ComparisonMeter({ leftLabel, rightLabel, value, className }: ComparisonMeterProps): react.JSX.Element;
|
|
1402
1322
|
|
|
@@ -1407,9 +1327,8 @@ interface ActivityFeedItem {
|
|
|
1407
1327
|
avatarUrl?: string;
|
|
1408
1328
|
meta?: ReactNode;
|
|
1409
1329
|
}
|
|
1410
|
-
interface ActivityFeedProps {
|
|
1330
|
+
interface ActivityFeedProps extends BaseProps {
|
|
1411
1331
|
items: ActivityFeedItem[];
|
|
1412
|
-
className?: string;
|
|
1413
1332
|
}
|
|
1414
1333
|
declare function ActivityFeed({ items, className }: ActivityFeedProps): react.JSX.Element;
|
|
1415
1334
|
|
|
@@ -1421,9 +1340,8 @@ interface InboxItem {
|
|
|
1421
1340
|
unread?: boolean;
|
|
1422
1341
|
tag?: ReactNode;
|
|
1423
1342
|
}
|
|
1424
|
-
interface InboxListProps {
|
|
1343
|
+
interface InboxListProps extends BaseProps {
|
|
1425
1344
|
items: InboxItem[];
|
|
1426
|
-
className?: string;
|
|
1427
1345
|
}
|
|
1428
1346
|
declare function InboxList({ items, className }: InboxListProps): react.JSX.Element;
|
|
1429
1347
|
|
|
@@ -1433,19 +1351,17 @@ interface ApprovalItem {
|
|
|
1433
1351
|
description?: ReactNode;
|
|
1434
1352
|
priority?: "low" | "medium" | "high";
|
|
1435
1353
|
}
|
|
1436
|
-
interface ApprovalQueueProps {
|
|
1354
|
+
interface ApprovalQueueProps extends BaseProps {
|
|
1437
1355
|
items: ApprovalItem[];
|
|
1438
1356
|
onApprove?: (index: number) => void;
|
|
1439
1357
|
onReject?: (index: number) => void;
|
|
1440
|
-
className?: string;
|
|
1441
1358
|
}
|
|
1442
1359
|
declare function ApprovalQueue({ items, onApprove, onReject, className }: ApprovalQueueProps): react.JSX.Element;
|
|
1443
1360
|
|
|
1444
|
-
interface SLAStatusProps {
|
|
1361
|
+
interface SLAStatusProps extends BaseProps {
|
|
1445
1362
|
label: ReactNode;
|
|
1446
1363
|
value: number;
|
|
1447
1364
|
target?: number;
|
|
1448
|
-
className?: string;
|
|
1449
1365
|
}
|
|
1450
1366
|
declare function SLAStatus({ label, value, target, className }: SLAStatusProps): react.JSX.Element;
|
|
1451
1367
|
|
|
@@ -1456,10 +1372,9 @@ interface FeatureFlag {
|
|
|
1456
1372
|
enabled?: boolean;
|
|
1457
1373
|
rollout?: ReactNode;
|
|
1458
1374
|
}
|
|
1459
|
-
interface FeatureFlagTableProps {
|
|
1375
|
+
interface FeatureFlagTableProps extends BaseProps {
|
|
1460
1376
|
flags: FeatureFlag[];
|
|
1461
1377
|
onToggle?: (key: string, enabled: boolean) => void;
|
|
1462
|
-
className?: string;
|
|
1463
1378
|
}
|
|
1464
1379
|
declare function FeatureFlagTable({ flags, onToggle, className }: FeatureFlagTableProps): react.JSX.Element;
|
|
1465
1380
|
|
|
@@ -1468,17 +1383,15 @@ interface PlanUsageItem {
|
|
|
1468
1383
|
used: number;
|
|
1469
1384
|
limit: number;
|
|
1470
1385
|
}
|
|
1471
|
-
interface PlanUsageProps {
|
|
1386
|
+
interface PlanUsageProps extends BaseProps {
|
|
1472
1387
|
title?: ReactNode;
|
|
1473
1388
|
items: PlanUsageItem[];
|
|
1474
|
-
className?: string;
|
|
1475
1389
|
}
|
|
1476
1390
|
declare function PlanUsage({ title, items, className }: PlanUsageProps): react.JSX.Element;
|
|
1477
1391
|
|
|
1478
|
-
interface AnnouncementBarProps {
|
|
1392
|
+
interface AnnouncementBarProps extends BaseProps {
|
|
1479
1393
|
children: ReactNode;
|
|
1480
1394
|
action?: ReactNode;
|
|
1481
|
-
className?: string;
|
|
1482
1395
|
}
|
|
1483
1396
|
declare function AnnouncementBar({ children, action, className }: AnnouncementBarProps): react.JSX.Element;
|
|
1484
1397
|
|
|
@@ -1486,11 +1399,10 @@ interface FAQItem {
|
|
|
1486
1399
|
question: ReactNode;
|
|
1487
1400
|
answer: ReactNode;
|
|
1488
1401
|
}
|
|
1489
|
-
interface FAQSectionProps {
|
|
1402
|
+
interface FAQSectionProps extends BaseProps {
|
|
1490
1403
|
title?: ReactNode;
|
|
1491
1404
|
description?: ReactNode;
|
|
1492
1405
|
items: FAQItem[];
|
|
1493
|
-
className?: string;
|
|
1494
1406
|
}
|
|
1495
1407
|
declare function FAQSection({ title, description, items, className }: FAQSectionProps): react.JSX.Element;
|
|
1496
1408
|
|
|
@@ -1500,19 +1412,17 @@ interface RoadmapItem {
|
|
|
1500
1412
|
status?: ReactNode;
|
|
1501
1413
|
quarter?: ReactNode;
|
|
1502
1414
|
}
|
|
1503
|
-
interface RoadmapListProps {
|
|
1415
|
+
interface RoadmapListProps extends BaseProps {
|
|
1504
1416
|
items: RoadmapItem[];
|
|
1505
|
-
className?: string;
|
|
1506
1417
|
}
|
|
1507
1418
|
declare function RoadmapList({ items, className }: RoadmapListProps): react.JSX.Element;
|
|
1508
1419
|
|
|
1509
1420
|
type InlineStatusTone = "neutral" | "success" | "warning" | "danger" | "info";
|
|
1510
|
-
interface InlineStatusProps {
|
|
1421
|
+
interface InlineStatusProps extends BaseProps {
|
|
1511
1422
|
tone?: InlineStatusTone;
|
|
1512
1423
|
children: ReactNode;
|
|
1513
1424
|
pulse?: boolean;
|
|
1514
|
-
className?: string;
|
|
1515
1425
|
}
|
|
1516
1426
|
declare function InlineStatus({ tone, children, pulse, className }: InlineStatusProps): react.JSX.Element;
|
|
1517
1427
|
|
|
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,
|
|
1428
|
+
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, type BaseProps, 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, 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 };
|