maritime-ui 0.1.59 → 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 +36 -1
- package/dist/maritime-ui.cjs +9 -9
- package/dist/maritime-ui.css +1 -1
- package/dist/maritime-ui.js +2468 -2266
- 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';
|
|
@@ -71,6 +74,8 @@ export declare const CalendarEventYellowIcon: () => JSX.Element;
|
|
|
71
74
|
|
|
72
75
|
export declare const CalendarIcon: () => JSX.Element;
|
|
73
76
|
|
|
77
|
+
export declare const CalendarMoveIcon: () => JSX.Element;
|
|
78
|
+
|
|
74
79
|
export declare const CalendarRedIcon: () => JSX.Element;
|
|
75
80
|
|
|
76
81
|
export declare const CertificatesIcon: FC;
|
|
@@ -91,7 +96,7 @@ export declare const CheckIcon: FC;
|
|
|
91
96
|
|
|
92
97
|
export declare const CheckListIcon: () => JSX.Element;
|
|
93
98
|
|
|
94
|
-
export declare const CheckMarkBlackIcon: ({ className }:
|
|
99
|
+
export declare const CheckMarkBlackIcon: ({ className }: Props_17) => JSX.Element;
|
|
95
100
|
|
|
96
101
|
export declare const CheckmarkIcon: () => JSX.Element;
|
|
97
102
|
|
|
@@ -149,6 +154,8 @@ export declare const DollarCoinIcon: () => JSX.Element;
|
|
|
149
154
|
|
|
150
155
|
export declare const DollarIcon: FC;
|
|
151
156
|
|
|
157
|
+
export declare const DoneIcon: () => JSX.Element;
|
|
158
|
+
|
|
152
159
|
export declare const Dots: FC;
|
|
153
160
|
|
|
154
161
|
declare type DropdownAction = {
|
|
@@ -173,6 +180,12 @@ export declare const EmailSentIcon: () => JSX.Element;
|
|
|
173
180
|
|
|
174
181
|
export declare const EmployeeDetailsIcon: FC;
|
|
175
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
|
+
|
|
176
189
|
export declare const FileCursorIcon: FC;
|
|
177
190
|
|
|
178
191
|
export declare const fileNameWithoutExt: (path: string) => string;
|
|
@@ -210,6 +223,8 @@ declare type FilterSearchProps = {
|
|
|
210
223
|
children?: ReactNode;
|
|
211
224
|
};
|
|
212
225
|
|
|
226
|
+
export declare const FlightDateIcon: () => JSX.Element;
|
|
227
|
+
|
|
213
228
|
export declare const FooterLogo: () => JSX.Element;
|
|
214
229
|
|
|
215
230
|
export declare const ForbiddenHeading: () => JSX.Element;
|
|
@@ -256,6 +271,7 @@ disabled?: boolean;
|
|
|
256
271
|
onAfterChange?: (value: string) => void;
|
|
257
272
|
errorText?: string;
|
|
258
273
|
optimize?: boolean;
|
|
274
|
+
inline?: boolean;
|
|
259
275
|
} & RefAttributes<SelectInstance<DropdownOption, false>>>;
|
|
260
276
|
|
|
261
277
|
export declare const FormFieldTextarea: ({ controlKey, labelText, required, disabled, rows, errorText, }: Props_7) => JSX.Element;
|
|
@@ -310,6 +326,8 @@ export declare const JobHistoryZeroStateIcon: FC;
|
|
|
310
326
|
|
|
311
327
|
export declare const JpgIcon: () => JSX.Element;
|
|
312
328
|
|
|
329
|
+
export declare const LinkIcon: () => JSX.Element;
|
|
330
|
+
|
|
313
331
|
export declare const Loader: ({ size }: Props_13) => JSX.Element;
|
|
314
332
|
|
|
315
333
|
export declare const Logo: () => JSX.Element;
|
|
@@ -322,6 +340,8 @@ export declare const MagnifierMinus: FC;
|
|
|
322
340
|
|
|
323
341
|
export declare const MagnifierPlus: FC;
|
|
324
342
|
|
|
343
|
+
export declare const MailboxIcon: () => JSX.Element;
|
|
344
|
+
|
|
325
345
|
export declare const MedicalIcon: FC;
|
|
326
346
|
|
|
327
347
|
export declare const MedicalsIcon: FC;
|
|
@@ -460,6 +480,10 @@ declare type Props_15 = {
|
|
|
460
480
|
};
|
|
461
481
|
|
|
462
482
|
declare type Props_16 = {
|
|
483
|
+
children: ReactNode;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
declare type Props_17 = {
|
|
463
487
|
className?: string;
|
|
464
488
|
};
|
|
465
489
|
|
|
@@ -561,6 +585,8 @@ export declare const RedSquareIcon: FC;
|
|
|
561
585
|
|
|
562
586
|
export declare const RejectedIcon: () => JSX.Element;
|
|
563
587
|
|
|
588
|
+
export declare const RemoveEmployeeIcon: () => JSX.Element;
|
|
589
|
+
|
|
564
590
|
export declare const RemoveTextIcon: FC;
|
|
565
591
|
|
|
566
592
|
export declare const RequestChangeIcon: FC;
|
|
@@ -589,6 +615,11 @@ export declare const ShareIcon: FC;
|
|
|
589
615
|
|
|
590
616
|
export declare const SignOffIcon: FC;
|
|
591
617
|
|
|
618
|
+
declare type State = {
|
|
619
|
+
hasError: boolean;
|
|
620
|
+
errorMessage: string;
|
|
621
|
+
};
|
|
622
|
+
|
|
592
623
|
export declare const StatusCheckmarkIcon: () => JSX.Element;
|
|
593
624
|
|
|
594
625
|
export declare const Table: FC<TableProps>;
|
|
@@ -667,6 +698,10 @@ export declare const UserHouseIcon: FC;
|
|
|
667
698
|
|
|
668
699
|
export declare const UserIcon: FC;
|
|
669
700
|
|
|
701
|
+
export declare const UsersIcon: () => JSX.Element;
|
|
702
|
+
|
|
703
|
+
export declare const WaivedIcon: () => JSX.Element;
|
|
704
|
+
|
|
670
705
|
export declare const WhiteCheckIcon: FC;
|
|
671
706
|
|
|
672
707
|
export declare const WhiteXIcon: FC;
|