maritime-ui 0.1.61 → 0.1.64
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/index.d.ts +22 -1
- package/dist/maritime-ui.cjs +9 -9
- package/dist/maritime-ui.css +1 -1
- package/dist/maritime-ui.js +1480 -1434
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
1
2
|
import { FC } from 'react';
|
|
2
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
3
4
|
import { JSX } from 'react';
|
|
5
|
+
import { JSXElementConstructor } from 'react';
|
|
4
6
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
5
7
|
import { Props as Props_8 } from 'react-select';
|
|
6
8
|
import { ReactElement } from 'react';
|
|
7
9
|
import { ReactNode } from 'react';
|
|
10
|
+
import { ReactPortal } from 'react';
|
|
8
11
|
import { RefAttributes } from 'react';
|
|
9
12
|
import { RefObject } from 'react';
|
|
10
13
|
import { SelectInstance } from 'react-select';
|
|
@@ -93,7 +96,7 @@ export declare const CheckIcon: FC;
|
|
|
93
96
|
|
|
94
97
|
export declare const CheckListIcon: () => JSX.Element;
|
|
95
98
|
|
|
96
|
-
export declare const CheckMarkBlackIcon: ({ className }:
|
|
99
|
+
export declare const CheckMarkBlackIcon: ({ className }: Props_17) => JSX.Element;
|
|
97
100
|
|
|
98
101
|
export declare const CheckmarkIcon: () => JSX.Element;
|
|
99
102
|
|
|
@@ -177,6 +180,12 @@ export declare const EmailSentIcon: () => JSX.Element;
|
|
|
177
180
|
|
|
178
181
|
export declare const EmployeeDetailsIcon: FC;
|
|
179
182
|
|
|
183
|
+
export declare class ErrorBoundary extends Component<Props_16, State> {
|
|
184
|
+
state: State;
|
|
185
|
+
static getDerivedStateFromError(error: Error): State;
|
|
186
|
+
render(): string | number | bigint | boolean | JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
187
|
+
}
|
|
188
|
+
|
|
180
189
|
export declare const FileCursorIcon: FC;
|
|
181
190
|
|
|
182
191
|
export declare const fileNameWithoutExt: (path: string) => string;
|
|
@@ -262,6 +271,7 @@ disabled?: boolean;
|
|
|
262
271
|
onAfterChange?: (value: string) => void;
|
|
263
272
|
errorText?: string;
|
|
264
273
|
optimize?: boolean;
|
|
274
|
+
inline?: boolean;
|
|
265
275
|
} & RefAttributes<SelectInstance<DropdownOption, false>>>;
|
|
266
276
|
|
|
267
277
|
export declare const FormFieldTextarea: ({ controlKey, labelText, required, disabled, rows, errorText, }: Props_7) => JSX.Element;
|
|
@@ -316,6 +326,8 @@ export declare const JobHistoryZeroStateIcon: FC;
|
|
|
316
326
|
|
|
317
327
|
export declare const JpgIcon: () => JSX.Element;
|
|
318
328
|
|
|
329
|
+
export declare const LinkIcon: () => JSX.Element;
|
|
330
|
+
|
|
319
331
|
export declare const Loader: ({ size }: Props_13) => JSX.Element;
|
|
320
332
|
|
|
321
333
|
export declare const Logo: () => JSX.Element;
|
|
@@ -468,6 +480,10 @@ declare type Props_15 = {
|
|
|
468
480
|
};
|
|
469
481
|
|
|
470
482
|
declare type Props_16 = {
|
|
483
|
+
children: ReactNode;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
declare type Props_17 = {
|
|
471
487
|
className?: string;
|
|
472
488
|
};
|
|
473
489
|
|
|
@@ -599,6 +615,11 @@ export declare const ShareIcon: FC;
|
|
|
599
615
|
|
|
600
616
|
export declare const SignOffIcon: FC;
|
|
601
617
|
|
|
618
|
+
declare type State = {
|
|
619
|
+
hasError: boolean;
|
|
620
|
+
errorMessage: string;
|
|
621
|
+
};
|
|
622
|
+
|
|
602
623
|
export declare const StatusCheckmarkIcon: () => JSX.Element;
|
|
603
624
|
|
|
604
625
|
export declare const Table: FC<TableProps>;
|