@foris/avocado-suite 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avocado-suite.es.js +496 -466
- package/dist/avocado-suite.umd.js +118 -118
- package/dist/components/drawer/Drawer.d.ts +4 -1
- package/dist/components/sidebar-menu/SidebarMenu.d.ts +11 -0
- package/dist/index.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
interface DrawerProps {
|
|
3
3
|
header?: React.ReactNode;
|
|
4
4
|
headerExtra?: React.ReactNode;
|
|
5
|
-
title
|
|
5
|
+
title?: React.ReactNode;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
footer?: React.ReactNode;
|
|
8
8
|
isOpen: boolean;
|
|
@@ -15,6 +15,9 @@ interface DrawerProps {
|
|
|
15
15
|
* <Drawer heightGap={50} />
|
|
16
16
|
*/
|
|
17
17
|
heightGap?: number;
|
|
18
|
+
origin?: 'left' | 'right';
|
|
19
|
+
className?: string;
|
|
20
|
+
contentClassName?: string;
|
|
18
21
|
onClose: () => void;
|
|
19
22
|
}
|
|
20
23
|
declare const Drawer: React.FC<DrawerProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SidebarMenuProps {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
closeOnOverlayClick?: boolean;
|
|
6
|
+
origin?: 'left' | 'right';
|
|
7
|
+
heightGap?: number;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const SidebarMenu: React.FC<SidebarMenuProps>;
|
|
11
|
+
export default SidebarMenu;
|
package/dist/index.d.ts
CHANGED
|
@@ -49,8 +49,9 @@ import Weekly from './components/weekly';
|
|
|
49
49
|
import WeeklyGroup from './components/weekly-group';
|
|
50
50
|
import Drawer from './components/drawer/Drawer';
|
|
51
51
|
import Banner from './components/banner';
|
|
52
|
+
import SidebarMenu from './components/sidebar-menu/SidebarMenu';
|
|
52
53
|
import { toast } from 'react-toastify';
|
|
53
|
-
export { Banner, Drawer, Weekly, WeeklyGroup, Accordion, Box, Breadcrumbs, Button, Card, CardAccordion, CardNotification, Checkbox, DataCard, DataTable, DatePicker, Divider, Donut, DonutLabels, DonutLegend, DropdownButton, Heading, Link, Loading, Menu, Modal, Pager, Pill, PreviewerMarkdown, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Switch, Tabs, Tag, Text, TextField, ThemeProvider, ThemeStore, Timer, Toaster, Tooltip, Table, toast, };
|
|
54
|
+
export { Banner, Drawer, SidebarMenu, Weekly, WeeklyGroup, Accordion, Box, Breadcrumbs, Button, Card, CardAccordion, CardNotification, Checkbox, DataCard, DataTable, DatePicker, Divider, Donut, DonutLabels, DonutLegend, DropdownButton, Heading, Link, Loading, Menu, Modal, Pager, Pill, PreviewerMarkdown, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Switch, Tabs, Tag, Text, TextField, ThemeProvider, ThemeStore, Timer, Toaster, Tooltip, Table, toast, };
|
|
54
55
|
/**
|
|
55
56
|
* Types
|
|
56
57
|
*/
|
|
@@ -66,5 +67,6 @@ export type { TextFieldProps } from './components/text-field/TextField';
|
|
|
66
67
|
export type { TextProps } from './components/text/Text';
|
|
67
68
|
export type { TimerTime } from './components/timer/Timer';
|
|
68
69
|
export type { ModalProps } from './components/modal/Modal';
|
|
70
|
+
export type { PillProps } from './components/Pill/Pill';
|
|
69
71
|
export type { ThemeMode, Theme } from './types/theme.types';
|
|
70
72
|
export * from './types/table.types';
|