@foris/avocado-suite 0.37.2 → 0.38.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 +5900 -5779
- package/dist/avocado-suite.umd.js +105 -105
- package/dist/components/card-accordion/CardAccordion.d.ts +26 -0
- package/dist/components/card-accordion/CardAccordion.test.d.ts +0 -0
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { FC, ReactNode } from 'react';
|
2
|
+
import type { IconTypes } from '../../../../avocado-icons';
|
3
|
+
export interface CardAccordionProps {
|
4
|
+
/** Content action */
|
5
|
+
actionContent?: ReactNode;
|
6
|
+
/** Content card accordion */
|
7
|
+
children: ReactNode | string;
|
8
|
+
/** Overwrite className */
|
9
|
+
className?: string;
|
10
|
+
/** Description content */
|
11
|
+
description?: ReactNode | string;
|
12
|
+
/** Disabled state */
|
13
|
+
disabled?: boolean;
|
14
|
+
/** Size Icon */
|
15
|
+
iconSize?: 'sm' | 'md' | 'lg' | 'xl';
|
16
|
+
/** Name Icon */
|
17
|
+
iconName?: IconTypes;
|
18
|
+
/** Gradient Icont */
|
19
|
+
iconGradient?: boolean;
|
20
|
+
/** Set accordion visibility */
|
21
|
+
opened?: boolean;
|
22
|
+
/** Set title */
|
23
|
+
title: string;
|
24
|
+
}
|
25
|
+
declare const CardAccordion: FC<CardAccordionProps>;
|
26
|
+
export default CardAccordion;
|
File without changes
|
package/dist/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ import Box from './components/box/Box';
|
|
8
8
|
import Breadcrumbs from './components/breadcrumbs/Breadcrumbs';
|
9
9
|
import Button from './components/button/Button';
|
10
10
|
import Card from './components/card/Card';
|
11
|
+
import CardAccordion from './components/card-accordion/CardAccordion';
|
11
12
|
import CardNotification from './components/card-notification/CardNotification';
|
12
13
|
import Checkbox from './components/checkbox/Checkbox';
|
13
14
|
import DataCard from './components/data-card/DataCard';
|
@@ -46,7 +47,7 @@ import Table from './components/table';
|
|
46
47
|
import Weekly from './components/weekly';
|
47
48
|
import WeeklyGroup from './components/weekly-group';
|
48
49
|
import { toast } from 'react-toastify';
|
49
|
-
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, toast, };
|
50
|
+
export { 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, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Switch, Tabs, Tag, Text, TextField, ThemeProvider, ThemeStore, Timer, Toaster, Tooltip, Table, toast, };
|
50
51
|
/**
|
51
52
|
* Types
|
52
53
|
*/
|