dga-ui-react 1.8.0 → 1.8.2
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/cjs/index.js +452 -85
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +430 -63
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +70 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -554,7 +554,7 @@ interface DGA_RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
|
|
|
554
554
|
}
|
|
555
555
|
declare const Rating: React.FC<DGA_RatingProps>;
|
|
556
556
|
|
|
557
|
-
interface DGA_ChipProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
|
|
557
|
+
interface DGA_ChipProps$1 extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
|
|
558
558
|
size?: Size;
|
|
559
559
|
style?: "primary" | "neutral";
|
|
560
560
|
rounded?: boolean;
|
|
@@ -565,7 +565,7 @@ interface DGA_ChipProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "styl
|
|
|
565
565
|
leadIcon?: React.ReactNode;
|
|
566
566
|
trailIcon?: React.ReactNode;
|
|
567
567
|
}
|
|
568
|
-
declare const Chip: React.FC<DGA_ChipProps>;
|
|
568
|
+
declare const Chip: React.FC<DGA_ChipProps$1>;
|
|
569
569
|
|
|
570
570
|
interface DGA_FloatingButtonProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, "style"> {
|
|
571
571
|
style?: "Primary-Neutral" | "Primary-Brand" | "Secondary-Solid";
|
|
@@ -632,4 +632,71 @@ interface DGA_SliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "st
|
|
|
632
632
|
}
|
|
633
633
|
declare const RangeSlider: React.FC<DGA_SliderProps>;
|
|
634
634
|
|
|
635
|
-
|
|
635
|
+
interface DGA_CarouselProps {
|
|
636
|
+
style?: "arrows" | "dots" | "dotsOnly";
|
|
637
|
+
dotsSize?: "large" | "medium" | "small";
|
|
638
|
+
content: React.ReactNode[];
|
|
639
|
+
selectedContentIndex?: number;
|
|
640
|
+
className?: string;
|
|
641
|
+
onChange?: (dotIndex: number) => void;
|
|
642
|
+
arrowsSize: Size;
|
|
643
|
+
arrowsStyle: "primary" | "subtle";
|
|
644
|
+
}
|
|
645
|
+
declare const Carousel: React.FC<DGA_CarouselProps>;
|
|
646
|
+
|
|
647
|
+
interface DGA_ChipProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
648
|
+
size?: "small" | "large";
|
|
649
|
+
whiteBackground?: boolean;
|
|
650
|
+
title?: string;
|
|
651
|
+
description?: string;
|
|
652
|
+
authorDetails?: {
|
|
653
|
+
name?: string;
|
|
654
|
+
title?: string;
|
|
655
|
+
avatar?: any;
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
declare const Quote: React.FC<DGA_ChipProps>;
|
|
659
|
+
|
|
660
|
+
interface DGA_SecondNavHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
|
|
661
|
+
style?: "gray" | "primary";
|
|
662
|
+
items: {
|
|
663
|
+
text: React.ReactNode;
|
|
664
|
+
icon: React.ReactNode;
|
|
665
|
+
}[];
|
|
666
|
+
actions: React.ReactElement<typeof Button>[];
|
|
667
|
+
}
|
|
668
|
+
declare const SecondNavHeader: React.FC<DGA_SecondNavHeaderProps>;
|
|
669
|
+
|
|
670
|
+
interface DGA_CodeSnippetProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
671
|
+
children: React.ReactNode;
|
|
672
|
+
type: "singleLine" | "multiLine";
|
|
673
|
+
multiLineItems?: {
|
|
674
|
+
title: React.ReactNode;
|
|
675
|
+
code: string;
|
|
676
|
+
active?: boolean;
|
|
677
|
+
}[];
|
|
678
|
+
onTabClicked?: (index: number, element: any) => void;
|
|
679
|
+
}
|
|
680
|
+
declare const CodeSnippet: React.FC<DGA_CodeSnippetProps>;
|
|
681
|
+
|
|
682
|
+
type SlideoutMenuBgColor = "white" | "gray";
|
|
683
|
+
interface DGA_SlideoutMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
684
|
+
open?: boolean;
|
|
685
|
+
backdrop?: boolean;
|
|
686
|
+
backgroundColor?: SlideoutMenuBgColor;
|
|
687
|
+
onCloseClicked?: Function;
|
|
688
|
+
onClose?: Function;
|
|
689
|
+
navHeader?: {
|
|
690
|
+
titleText?: React.ReactNode;
|
|
691
|
+
descriptionText?: React.ReactNode;
|
|
692
|
+
icon?: React.ReactNode;
|
|
693
|
+
showFeaturedIcon?: boolean;
|
|
694
|
+
showDescription?: boolean;
|
|
695
|
+
showDivider?: boolean;
|
|
696
|
+
};
|
|
697
|
+
border?: boolean;
|
|
698
|
+
children?: React.ReactNode;
|
|
699
|
+
}
|
|
700
|
+
declare const SlideoutMenu: React.FC<DGA_SlideoutMenuProps>;
|
|
701
|
+
|
|
702
|
+
export { Accordion, Autocomplete, Avatar, Breadcrumb, Button, Card, Carousel, Checkbox, Chip, CodeSnippet, ContentSwitcher, DatePicker, Divider, DropZone, Dropdown, DropdownItem, FileCard, FileUpload, FloatingButton, Grid, HeaderMenuItem, InlineAlert, Link, List, Loading, Menu, MenuItem, MenuItemGroup, Modal, NavigationDrawerItem, Notification, NumberInput, Pagination, ProgressBar, ProgressIndicator, Quote, RadialStepper, Radio, RadioGroup, RangeSlider, Rating, SearchBox, SecondNavHeader, Skeleton, SkeletonCircle, SkeletonLine, SkeletonRectangle, SkeletonSquare, SlideoutMenu, NormalSlider as Slider, StatusTag, Switch, Tab, TabList, Table, Tag, TextInput, Textarea, ThemeProvider, Tooltip, toast, useTheme, withRtl };
|