@foris/avocado-suite 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/avocado-suite.es.js +4562 -3933
- package/dist/avocado-suite.umd.js +162 -136
- package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableAction/DataTableAction.d.ts +2 -3
- package/dist/{avocado-suite/src/components → components}/Pill/Pill.d.ts +1 -2
- package/dist/components/box/Box.test.d.ts +1 -0
- package/dist/{avocado-suite/src/components → components}/button/Button.d.ts +1 -1
- package/dist/{avocado-suite/src/components → components}/link/Link.d.ts +1 -1
- package/dist/{avocado-suite/src/components → components}/menu/Menu.d.ts +1 -1
- package/dist/{avocado-suite/src/components → components}/round-button/RoundButton.d.ts +1 -1
- package/dist/{avocado-suite/src/components → components}/tag/Tag.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.test.d.ts +1 -0
- package/dist/index.d.ts +34 -1
- package/dist/{avocado-suite/src/types → types}/menu.types.d.ts +1 -1
- package/package.json +2 -2
- package/dist/avocado-suite/src/components/box/Box.test.d.ts +0 -0
- package/dist/avocado-suite/src/components/tooltip/Tooltip.test.d.ts +0 -0
- package/dist/avocado-suite/src/index.d.ts +0 -34
- /package/dist/{avocado-suite/src/components → components}/DataTable/DataTable.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableAction/DataTableActionsGroup.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableAction/DataTableSubActions.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableContent/DataTableContent.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableHeader/DataTableHeader.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableRow/DataTableRow.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/components/DataTableRow/DataTableRowAccordion.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/DataTable/utils/dataTableUtil.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/Pill/Pill.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/box/Box.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/breadcrumbs/Breadcrumbs.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/breadcrumbs/Breadcrumbs.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/button/Button.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/card/Card.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/card/Card.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/card-notification/CardNotification.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/card-notification/CardNotification.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/checkbox/Checkbox.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/checkbox/Checkbox.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/divider/Divider.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/divider/Divider.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/donut/Donut.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/donut/donut-labels/DonutLabels.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/donut/donut-legend/DonutLegend.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/heading/Heading.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/heading/Heading.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/link/Link.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/menu/Menu.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/pager/Page.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/pager/Pager.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/pager/components/ArrowPager.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/pager/components/ButtonPager.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/pager/utils/generateArrayOfPages.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/processing/Processing.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/progress-bar/ProgressBar.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/progress-bar/ProgressBar.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/radio-button/RadioButton.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/radio-button/RadioButton.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/round-button/RoundButton.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/select/Select.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/select/Select.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/select/components/SelectIndicators.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/select-pagination/SelectPagination.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/select-pagination/SelectPagination.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/skeleton-base/SkeletonBase.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/skeleton-circle/SkeletonCircle.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/stepper/Stepper.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/stepper/Stepper.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/tabs/Tabs.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/tabs/Tabs.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/tag/Tag.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/text/Text.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/text/Text.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/text-field/TextField.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/text-field/TextField.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/text-field/components/StatusIcon.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/timer/Timer.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/timer/Timer.test.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/timer/timer.util.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/toaster/Toaster.d.ts +0 -0
- /package/dist/{avocado-suite/src/components → components}/tooltip/Tooltip.d.ts +0 -0
- /package/dist/{avocado-suite/src/constants → constants}/theme.constants.d.ts +0 -0
- /package/dist/{avocado-suite/src/contexts → contexts}/theme/ThemeProvider.d.ts +0 -0
- /package/dist/{avocado-suite/src/hooks → hooks}/useClickOutside.d.ts +0 -0
- /package/dist/{avocado-suite/src/hooks → hooks}/useTheme.d.ts +0 -0
- /package/dist/{avocado-suite/src/types → types}/theme.types.d.ts +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
2
|
-
import { IconTypes } from '../../../../../../avocado-icons
|
3
|
-
import IconSize from '../../../../../../avocado-icons/src/types/size.enum';
|
2
|
+
import { IconTypes, Size } from '../../../../../../avocado-icons';
|
4
3
|
export type DataTableActionPosition = 'left' | 'right';
|
5
4
|
export type DataTableActionType = 'primary' | 'success' | 'warning' | 'danger';
|
6
5
|
export interface IDataTableAction {
|
@@ -18,7 +17,7 @@ export interface IDataTableAction {
|
|
18
17
|
/** icon value */
|
19
18
|
icon?: IconTypes;
|
20
19
|
/** icon size */
|
21
|
-
iconSize?: keyof typeof
|
20
|
+
iconSize?: keyof typeof Size;
|
22
21
|
/** position value */
|
23
22
|
position: DataTableActionPosition;
|
24
23
|
/** type value */
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IconTypes } from '
|
3
|
-
import { Color } from '../../../../../../../../avocado-icons/src/types/color.enum';
|
2
|
+
import { IconTypes, Color } from '../../../../avocado-icons';
|
4
3
|
export interface PillProps {
|
5
4
|
/** Optional Icon name */
|
6
5
|
icon?: IconTypes;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { FC } from 'react';
|
2
|
-
import { IconTypes } from '../../../../avocado-icons
|
2
|
+
import { IconTypes } from '../../../../avocado-icons';
|
3
3
|
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
4
4
|
export interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
5
5
|
/** Render content button */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FC } from 'react';
|
2
|
-
import { IconTypes } from '../../../../avocado-icons
|
2
|
+
import { IconTypes } from '../../../../avocado-icons';
|
3
3
|
export interface LinkProps extends React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
|
4
4
|
/** Render content link */
|
5
5
|
children: React.ReactNode | string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FC } from 'react';
|
2
|
-
import { MenuItem } from '../../types/menu.types
|
2
|
+
import { MenuItem } from '../../types/menu.types';
|
3
3
|
interface MenuProps {
|
4
4
|
/** Control if you want to close the list after clicking one of the options or not */
|
5
5
|
closeOnClick?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FC } from 'react';
|
2
2
|
import { ButtonVariant } from '../button/Button';
|
3
|
-
import { IconTypes } from '
|
3
|
+
import { IconTypes } from '../../../../avocado-icons';
|
4
4
|
interface RoundButtonProps extends Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>> {
|
5
5
|
/** Icon name */
|
6
6
|
icon: IconTypes;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
@@ -1 +1,34 @@
|
|
1
|
-
|
1
|
+
import { ThemeProvider } from './contexts/theme/ThemeProvider';
|
2
|
+
import Box from './components/box/Box';
|
3
|
+
import Breadcrumbs from './components/breadcrumbs/Breadcrumbs';
|
4
|
+
import Button from './components/button/Button';
|
5
|
+
import Card from './components/card/Card';
|
6
|
+
import CardNotification from './components/card-notification/CardNotification';
|
7
|
+
import Checkbox from './components/checkbox/Checkbox';
|
8
|
+
import DataTable from './components/DataTable/DataTable';
|
9
|
+
import Divider from './components/divider/Divider';
|
10
|
+
import Donut from './components/donut/Donut';
|
11
|
+
import DonutLabels from './components/donut/donut-labels/DonutLabels';
|
12
|
+
import DonutLegend from './components/donut/donut-legend/DonutLegend';
|
13
|
+
import Heading from './components/heading/Heading';
|
14
|
+
import Link from './components/link/Link';
|
15
|
+
import Menu from './components/menu/Menu';
|
16
|
+
import Pager from './components/pager/Pager';
|
17
|
+
import Pill from './components/Pill/Pill';
|
18
|
+
import Processing from './components/processing/Processing';
|
19
|
+
import ProgressBar from './components/progress-bar/ProgressBar';
|
20
|
+
import RadioButton from './components/radio-button/RadioButton';
|
21
|
+
import RoundButton from './components/round-button/RoundButton';
|
22
|
+
import Select from './components/select/Select';
|
23
|
+
import SelectPagination from './components/select-pagination/SelectPagination';
|
24
|
+
import SkeletonBase from './components/skeleton-base/SkeletonBase';
|
25
|
+
import SkeletonCircle from './components/skeleton-circle/SkeletonCircle';
|
26
|
+
import Stepper from './components/stepper/Stepper';
|
27
|
+
import Tabs from './components/tabs/Tabs';
|
28
|
+
import Tag from './components/tag/Tag';
|
29
|
+
import Text from './components/text/Text';
|
30
|
+
import TextField from './components/text-field/TextField';
|
31
|
+
import Timer from './components/timer/Timer';
|
32
|
+
import Toaster from './components/toaster/Toaster';
|
33
|
+
import Tooltip from './components/tooltip/Tooltip';
|
34
|
+
export { ThemeProvider, Box, Breadcrumbs, Button, Card, CardNotification, Checkbox, DataTable, Divider, Donut, DonutLabels, DonutLegend, Heading, Link, Menu, Pager, Pill, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Tabs, Tag, Text, TextField, Timer, Toaster, Tooltip, };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@foris/avocado-suite",
|
3
|
-
"version": "0.12.
|
3
|
+
"version": "0.12.1",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"react-select-async-paginate": "0.7.3",
|
25
25
|
"react-toastify": "9.0.3",
|
26
26
|
"@foris/avocado-core": "0.6.0",
|
27
|
-
"@foris/avocado-icons": "1.6.
|
27
|
+
"@foris/avocado-icons": "1.6.1"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
30
|
"@testing-library/jest-dom": "6.4.0",
|
File without changes
|
File without changes
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import { ThemeProvider } from './contexts/theme/ThemeProvider';
|
2
|
-
import Box from './components/box/Box';
|
3
|
-
import Breadcrumbs from './components/breadcrumbs/Breadcrumbs';
|
4
|
-
import Button from './components/button/Button';
|
5
|
-
import Card from './components/card/Card';
|
6
|
-
import CardNotification from './components/card-notification/CardNotification';
|
7
|
-
import Checkbox from './components/checkbox/Checkbox';
|
8
|
-
import DataTable from './components/DataTable/DataTable';
|
9
|
-
import Divider from './components/divider/Divider';
|
10
|
-
import Donut from './components/donut/Donut';
|
11
|
-
import DonutLabels from './components/donut/donut-labels/DonutLabels';
|
12
|
-
import DonutLegend from './components/donut/donut-legend/DonutLegend';
|
13
|
-
import Heading from './components/heading/Heading';
|
14
|
-
import Link from './components/link/Link';
|
15
|
-
import Menu from './components/menu/Menu';
|
16
|
-
import Pager from './components/pager/Pager';
|
17
|
-
import Pill from './components/Pill/Pill';
|
18
|
-
import Processing from './components/processing/Processing';
|
19
|
-
import ProgressBar from './components/progress-bar/ProgressBar';
|
20
|
-
import RadioButton from './components/radio-button/RadioButton';
|
21
|
-
import RoundButton from './components/round-button/RoundButton';
|
22
|
-
import Select from './components/select/Select';
|
23
|
-
import SelectPagination from './components/select-pagination/SelectPagination';
|
24
|
-
import SkeletonBase from './components/skeleton-base/SkeletonBase';
|
25
|
-
import SkeletonCircle from './components/skeleton-circle/SkeletonCircle';
|
26
|
-
import Stepper from './components/stepper/Stepper';
|
27
|
-
import Tabs from './components/tabs/Tabs';
|
28
|
-
import Tag from './components/tag/Tag';
|
29
|
-
import Text from './components/text/Text';
|
30
|
-
import TextField from './components/text-field/TextField';
|
31
|
-
import Timer from './components/timer/Timer';
|
32
|
-
import Toaster from './components/toaster/Toaster';
|
33
|
-
import Tooltip from './components/tooltip/Tooltip';
|
34
|
-
export { ThemeProvider, Box, Breadcrumbs, Button, Card, CardNotification, Checkbox, DataTable, Divider, Donut, DonutLabels, DonutLegend, Heading, Link, Menu, Pager, Pill, Processing, ProgressBar, RadioButton, RoundButton, Select, SelectPagination, SkeletonBase, SkeletonCircle, Stepper, Tabs, Tag, Text, TextField, Timer, Toaster, Tooltip, };
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/DataTable/utils/dataTableUtil.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/card-notification/CardNotification.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/donut/donut-labels/DonutLabels.d.ts
RENAMED
File without changes
|
/package/dist/{avocado-suite/src/components → components}/donut/donut-legend/DonutLegend.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/pager/utils/generateArrayOfPages.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/progress-bar/ProgressBar.test.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/radio-button/RadioButton.test.d.ts
RENAMED
File without changes
|
/package/dist/{avocado-suite/src/components → components}/round-button/RoundButton.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/select/components/SelectIndicators.d.ts
RENAMED
File without changes
|
/package/dist/{avocado-suite/src/components → components}/select-pagination/SelectPagination.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/skeleton-circle/SkeletonCircle.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{avocado-suite/src/components → components}/text-field/components/StatusIcon.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|