@mercoa/react 0.0.37-rc3 → 0.0.37-rc4
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/components/generics.d.ts +4 -2
- package/dist/index.es.js +15769 -15981
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +88 -96
- package/dist/index.umd.js.map +1 -1
- package/dist/mercoa.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Mercoa } from '@mercoa/javascript';
|
|
1
|
+
import { Mercoa, MercoaClient } from '@mercoa/javascript';
|
|
2
2
|
import { ChangeEvent, FocusEvent, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
3
3
|
import { Control, FieldErrors, UseFormRegister } from 'react-hook-form';
|
|
4
4
|
import { TokenOptions } from './index';
|
|
5
5
|
export interface MercoaButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
6
6
|
isEmphasized: boolean;
|
|
7
|
+
hideOutline?: boolean;
|
|
7
8
|
tooltip?: string;
|
|
8
9
|
className?: string;
|
|
9
10
|
color?: 'red' | 'green' | 'blue' | 'indigo' | 'yellow' | 'gray';
|
|
@@ -11,7 +12,7 @@ export interface MercoaButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
|
11
12
|
children: ReactNode;
|
|
12
13
|
[x: string]: any;
|
|
13
14
|
}
|
|
14
|
-
export declare function MercoaButton({ children, tooltip, isEmphasized, className, color, icon, size, ...props }: MercoaButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function MercoaButton({ children, tooltip, isEmphasized, hideOutline, className, color, icon, size, ...props }: MercoaButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export declare function TableOrderHeader({ orderDirection, isSelected, setOrder, title, }: {
|
|
16
17
|
orderDirection: Mercoa.OrderDirection;
|
|
17
18
|
isSelected: boolean;
|
|
@@ -156,3 +157,4 @@ export declare function CountPill({ count, selected }: {
|
|
|
156
157
|
count: number;
|
|
157
158
|
selected: boolean;
|
|
158
159
|
}): import("react/jsx-runtime").JSX.Element;
|
|
160
|
+
export declare function getAllUsers(client: MercoaClient, entityId: string): Promise<Mercoa.EntityUserResponse[]>;
|