@foris/avocado-suite 0.27.0 → 0.29.0-beta.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 +8191 -6762
- package/dist/avocado-suite.umd.js +87 -87
- package/dist/components/pager/Pager.d.ts +4 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/weekly/Weekly.d.ts +8 -0
- package/dist/components/weekly/components/weekly-item/WeeklyItem.d.ts +12 -0
- package/dist/components/weekly/components/weekly-item/index.d.ts +2 -0
- package/dist/components/weekly/index.d.ts +2 -0
- package/dist/components/weekly-group/WeeklyGroup.d.ts +20 -0
- package/dist/components/weekly-group/hooks/useDotButton.d.ts +6 -0
- package/dist/components/weekly-group/hooks/usePrevNextButtons.d.ts +6 -0
- package/dist/components/weekly-group/index.d.ts +2 -0
- package/dist/index.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
@@ -15,7 +15,7 @@ export interface TooltipProps {
|
|
15
15
|
/** Overwrite className */
|
16
16
|
className?: string;
|
17
17
|
/** The label of the tooltip */
|
18
|
-
label:
|
18
|
+
label: ReactNode;
|
19
19
|
/** Not show the arrow tooltip */
|
20
20
|
notShowArrow?: boolean;
|
21
21
|
/** The placement of the popper relative to its reference */
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
export interface WeeklyItemProps {
|
3
|
+
id?: number | string;
|
4
|
+
index?: number;
|
5
|
+
label: string;
|
6
|
+
isDisabled?: boolean;
|
7
|
+
isSelected?: boolean;
|
8
|
+
tooltipLabel?: React.ReactNode;
|
9
|
+
onClick?: () => void;
|
10
|
+
}
|
11
|
+
declare const WeeklyItem: FC<WeeklyItemProps>;
|
12
|
+
export default WeeklyItem;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { WeeklyItemProps } from '../weekly/components/weekly-item/WeeklyItem';
|
3
|
+
import { EmblaOptionsType } from 'embla-carousel';
|
4
|
+
export interface WeeklyGroup {
|
5
|
+
label: string;
|
6
|
+
items: WeeklyItemProps[];
|
7
|
+
}
|
8
|
+
export interface WeeklyGroupProps {
|
9
|
+
groups: WeeklyGroup[];
|
10
|
+
headerTitle?: string;
|
11
|
+
showDots?: boolean;
|
12
|
+
className?: string;
|
13
|
+
/**
|
14
|
+
* More information about the options can be found in https://www.embla-carousel.com/api/options/
|
15
|
+
*/
|
16
|
+
carouselOptions?: EmblaOptionsType;
|
17
|
+
renderHeaderActionsLabel?: (activeSlide: number) => string;
|
18
|
+
}
|
19
|
+
declare const WeeklyGroup: FC<WeeklyGroupProps>;
|
20
|
+
export default WeeklyGroup;
|
package/dist/index.d.ts
CHANGED
@@ -43,7 +43,9 @@ import Timer from './components/timer/Timer';
|
|
43
43
|
import Toaster from './components/toaster/Toaster';
|
44
44
|
import Tooltip from './components/tooltip/Tooltip';
|
45
45
|
import Table from './components/table';
|
46
|
-
|
46
|
+
import Weekly from './components/weekly';
|
47
|
+
import WeeklyGroup from './components/weekly-group';
|
48
|
+
export { Weekly, WeeklyGroup, Accordion, Box, Breadcrumbs, Button, Card, CardNotification, Checkbox, DataCard, DataTable, DatePicker, Divider, Donut, DonutLabels, DonutLegend, DropdownButton, Heading, Link, Loading, Menu, Modal, Pager, Pill, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Switch, Tabs, Tag, Text, TextField, ThemeProvider, ThemeStore, Timer, Toaster, Tooltip, Table, };
|
47
49
|
/**
|
48
50
|
* Types
|
49
51
|
*/
|