@foris/avocado-suite 1.3.2 → 1.3.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/avocado-suite.es.js +237 -237
- package/dist/avocado-suite.umd.js +7 -7
- package/dist/components/DataTable/utils/dataTableUtil.d.ts +1 -1
- package/dist/components/access-panel/AccessPanel.d.ts +1 -1
- package/dist/components/access-panel/components/access-product/AccessProduct.d.ts +1 -1
- package/dist/components/access-panel/components/access-product-row/AccessProductRow.d.ts +1 -1
- package/dist/components/select/components/SelectIndicators.d.ts +3 -3
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/table/components/table-desktop-head/TableDesktopHead.d.ts +1 -1
- package/dist/components/table/components/table-desktop-row/TableDesktopRow.d.ts +1 -1
- package/dist/components/table/components/table-mobile/TableMobile.d.ts +1 -1
- package/dist/components/table/components/table-mobile-row/TableMobileRow.d.ts +1 -1
- package/dist/components/table/components/table-select-actions/TableSelectActions.d.ts +1 -1
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@ export declare const getStyles: (options?: IResponsiveOptions) => {
|
|
|
3
3
|
maxWidth: string;
|
|
4
4
|
minWidth: string;
|
|
5
5
|
padding: string;
|
|
6
|
-
textAlign: "
|
|
6
|
+
textAlign: "left" | "right" | "center";
|
|
7
7
|
width: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const parseColumn: (column: IDataTableContentColumn, index: number) => {
|
|
@@ -18,5 +18,5 @@ export interface AccessPanelProps {
|
|
|
18
18
|
recentProducts?: AccessPanelProduct[];
|
|
19
19
|
customProducts?: AccessPanelProduct[];
|
|
20
20
|
}
|
|
21
|
-
declare const AccessPanel: ({ className, isOpen, title, productsTitle, recentProductsTitle, customProductsTitle, activePillText, products, recentProducts, customProducts, }: AccessPanelProps) => JSX.Element;
|
|
21
|
+
declare const AccessPanel: ({ className, isOpen, title, productsTitle, recentProductsTitle, customProductsTitle, activePillText, products, recentProducts, customProducts, }: AccessPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default AccessPanel;
|
|
@@ -2,5 +2,5 @@ import { AccessPanelProduct } from '../../AccessPanel';
|
|
|
2
2
|
interface AccessProductProps extends AccessPanelProduct {
|
|
3
3
|
activePillText?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const AccessProduct: ({ isActive, name, logo, activePillText, onClick, }: AccessProductProps) => JSX.Element;
|
|
5
|
+
declare const AccessProduct: ({ isActive, name, logo, activePillText, onClick, }: AccessProductProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default AccessProduct;
|
|
@@ -2,5 +2,5 @@ import { AccessPanelProduct } from '../../AccessPanel';
|
|
|
2
2
|
interface AccessProductRowProps extends AccessPanelProduct {
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const AccessProductRow: ({ name, logo, onClick, className, }: AccessProductRowProps) => JSX.Element;
|
|
5
|
+
declare const AccessProductRow: ({ name, logo, onClick, className, }: AccessProductRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default AccessProductRow;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ClearIndicatorProps, DropdownIndicatorProps } from 'react-select';
|
|
2
|
-
export declare const ClearIndicator: (props: ClearIndicatorProps) => JSX.Element;
|
|
3
|
-
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => JSX.Element;
|
|
2
|
+
export declare const ClearIndicator: (props: ClearIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
interface ErrorIndicator {
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const ErrorIndicator: (props: ErrorIndicator) => JSX.Element;
|
|
7
|
+
export declare const ErrorIndicator: (props: ErrorIndicator) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -8,5 +8,5 @@ interface TableDesktopHeadProps {
|
|
|
8
8
|
hasActions?: boolean;
|
|
9
9
|
onSortChange?: (newSort: TableSort) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const TableDesktopHead: ({ rowOptions, columns, variant, initialSort, hasActions, isSelectorDisabled, onSortChange, }: TableDesktopHeadProps) => JSX.Element;
|
|
11
|
+
declare const TableDesktopHead: ({ rowOptions, columns, variant, initialSort, hasActions, isSelectorDisabled, onSortChange, }: TableDesktopHeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default TableDesktopHead;
|
|
@@ -13,5 +13,5 @@ interface TableDesktopRowProps {
|
|
|
13
13
|
onRowSelect?: (selected: boolean, data: unknown) => void;
|
|
14
14
|
renderCustomContent?: (data: any) => React.ReactNode;
|
|
15
15
|
}
|
|
16
|
-
declare const TableDesktopRow: ({ row, columns, rightActions, isDisabled, isSelectorDisabled, isSelected, selectorType, variant, isTextAdaptable, onRowSelect, renderCustomContent, }: TableDesktopRowProps) => JSX.Element;
|
|
16
|
+
declare const TableDesktopRow: ({ row, columns, rightActions, isDisabled, isSelectorDisabled, isSelected, selectorType, variant, isTextAdaptable, onRowSelect, renderCustomContent, }: TableDesktopRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default TableDesktopRow;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableProps } from '../../../../types/table.types';
|
|
2
|
-
declare const TableMobile: ({ className, data, columns, rightActions, rowOptions, }: TableProps) => JSX.Element;
|
|
2
|
+
declare const TableMobile: ({ className, data, columns, rightActions, rowOptions, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TableMobile;
|
|
@@ -11,5 +11,5 @@ interface TableMobileRowProps {
|
|
|
11
11
|
onRowSelect?: (selected: boolean, data: unknown) => void;
|
|
12
12
|
renderCustomContent?: (data: any) => React.ReactNode;
|
|
13
13
|
}
|
|
14
|
-
declare const TableMobileRow: ({ columns, row, isDisabled, isSelectorDisabled, isSelected, selectorType, actions, onRowSelect, renderCustomContent, }: TableMobileRowProps) => JSX.Element;
|
|
14
|
+
declare const TableMobileRow: ({ columns, row, isDisabled, isSelectorDisabled, isSelected, selectorType, actions, onRowSelect, renderCustomContent, }: TableMobileRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default TableMobileRow;
|
|
@@ -6,5 +6,5 @@ interface TableSelectActionsProps {
|
|
|
6
6
|
isSelected?: boolean;
|
|
7
7
|
onSelect?: (selected: boolean, data: unknown) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const TableSelectActions: ({ row, selectorType, isDisabled, isSelected, onSelect, }: TableSelectActionsProps) => JSX.Element | null;
|
|
9
|
+
declare const TableSelectActions: ({ row, selectorType, isDisabled, isSelected, onSelect, }: TableSelectActionsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
export default TableSelectActions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foris/avocado-suite",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"embla-carousel-react": "^8.5.2",
|
|
22
22
|
"motion": "12.23.24",
|
|
23
|
-
"react": "18.
|
|
23
|
+
"react": "18.3.1",
|
|
24
24
|
"react-datepicker": "7.3.0",
|
|
25
|
-
"react-dom": "18.
|
|
25
|
+
"react-dom": "18.3.1",
|
|
26
26
|
"react-markdown": "^8.0.3",
|
|
27
27
|
"react-select": "5.8.0",
|
|
28
28
|
"react-select-async-paginate": "0.7.3",
|
|
29
29
|
"react-toastify": "9.0.3",
|
|
30
30
|
"zustand": "4.5.4",
|
|
31
31
|
"@foris/avocado-core": "1.1.0",
|
|
32
|
-
"@foris/avocado-icons": "1.16.
|
|
32
|
+
"@foris/avocado-icons": "1.16.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@testing-library/jest-dom": "6.4.0",
|
|
36
36
|
"@testing-library/react": "14.2.0",
|
|
37
37
|
"@testing-library/user-event": "14.5.2",
|
|
38
38
|
"@types/node": "20.2.5",
|
|
39
|
-
"@types/react": "18.
|
|
40
|
-
"@types/react-dom": "18.
|
|
39
|
+
"@types/react": "18.3.1",
|
|
40
|
+
"@types/react-dom": "18.3.1",
|
|
41
41
|
"@types/testing-library__jest-dom": "6.0.0",
|
|
42
42
|
"@vitejs/plugin-react-swc": "3.5.0",
|
|
43
43
|
"@vitest/coverage-v8": "1.2.2",
|