dga-ui-react 1.8.1 → 1.8.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/dist/index.d.ts CHANGED
@@ -218,7 +218,7 @@ interface DGA_GridProps extends HTMLAttributes<HTMLDivElement> {
218
218
  }
219
219
  declare const Grid: React.FC<DGA_GridProps>;
220
220
 
221
- type InlineAlertType = ThemeColorName & "destructive";
221
+ type InlineAlertType = "neutral" | "warning" | "info" | "success" | "destructive";
222
222
  interface DGA_InlineAlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
223
223
  leadText: React.ReactNode;
224
224
  helpText?: React.ReactNode;
@@ -679,4 +679,24 @@ interface DGA_CodeSnippetProps extends React.HTMLAttributes<HTMLDivElement> {
679
679
  }
680
680
  declare const CodeSnippet: React.FC<DGA_CodeSnippetProps>;
681
681
 
682
- 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, NormalSlider as Slider, StatusTag, Switch, Tab, TabList, Table, Tag, TextInput, Textarea, ThemeProvider, Tooltip, toast, useTheme, withRtl };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dga-ui-react",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "DGA ui library",
5
5
  "author": "Ashraf Ainia",
6
6
  "license": "MIT",