maritime-ui 0.1.74 → 0.1.76

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 CHANGED
@@ -4,7 +4,7 @@ import { ForwardRefExoticComponent } from 'react';
4
4
  import { JSX } from 'react';
5
5
  import { JSXElementConstructor } from 'react';
6
6
  import { MouseEvent as MouseEvent_2 } from 'react';
7
- import { Props as Props_9 } from 'react-select';
7
+ import { Props as Props_11 } from 'react-select';
8
8
  import { ReactElement } from 'react';
9
9
  import { ReactNode } from 'react';
10
10
  import { ReactPortal } from 'react';
@@ -16,6 +16,8 @@ export declare const ActivityLogIcon: FC;
16
16
 
17
17
  export declare const ActivityLogZeroStateIcon: FC;
18
18
 
19
+ export declare const AirplaneIcon: FC;
20
+
19
21
  export declare const AirportIcon: FC;
20
22
 
21
23
  export declare const AlertCircleIcon: FC;
@@ -24,6 +26,16 @@ export declare const ArrowBackIcon: () => JSX.Element;
24
26
 
25
27
  export declare const ArrowLeftIBlackIcon: FC;
26
28
 
29
+ export declare const ArrowLeftIcon: FC;
30
+
31
+ export declare const ArrowLeftIcon2: FC;
32
+
33
+ export declare const ArrowPaginationIcon: FC;
34
+
35
+ export declare const ArrowResetIcon: () => JSX.Element;
36
+
37
+ export declare const ArrowRightIcon: FC;
38
+
27
39
  export declare const AttachIcon: FC;
28
40
 
29
41
  export declare const AttachmentIcon: FC;
@@ -36,6 +48,10 @@ export declare type BadgeType = 'default' | 'success' | 'warning' | 'info' | 'wa
36
48
 
37
49
  export declare const BankDetailsIcon: () => JSX.Element;
38
50
 
51
+ export declare const BellIcon: () => JSX.Element;
52
+
53
+ export declare const BlackEditPenIcon: () => JSX.Element;
54
+
39
55
  export declare const BlackPlusIcon: FC;
40
56
 
41
57
  export declare const BlueEditIcon: FC;
@@ -74,12 +90,20 @@ export declare const CalendarEventYellowIcon: () => JSX.Element;
74
90
 
75
91
  export declare const CalendarIcon: () => JSX.Element;
76
92
 
93
+ export declare const CalendarLabelIcon: FC;
94
+
77
95
  export declare const CalendarMoveIcon: () => JSX.Element;
78
96
 
79
97
  export declare const CalendarRedIcon: () => JSX.Element;
80
98
 
99
+ export declare const CancelIcon: FC;
100
+
81
101
  export declare const CertificatesIcon: FC;
82
102
 
103
+ export declare const Checkbox: ({ checked, onChange, labelText, disabled, indeterminate, name, }: Props_2) => JSX.Element;
104
+
105
+ export declare const CheckboxCheckIcon: FC;
106
+
83
107
  export declare const CheckboxIcon: FC;
84
108
 
85
109
  export declare const CheckboxListIcon: FC;
@@ -96,18 +120,30 @@ export declare const CheckIcon: FC;
96
120
 
97
121
  export declare const CheckListIcon: () => JSX.Element;
98
122
 
99
- export declare const CheckMarkBlackIcon: ({ className }: Props_18) => JSX.Element;
123
+ export declare const ChecklistIcon2: FC;
124
+
125
+ export declare const CheckMarkBlackIcon: ({ className }: Props_20) => JSX.Element;
100
126
 
101
127
  export declare const CheckmarkIcon: () => JSX.Element;
102
128
 
129
+ export declare const CheckSingleIcon: () => JSX.Element;
130
+
131
+ export declare const CheckSmallIcon: () => JSX.Element;
132
+
103
133
  export declare const ChevronDownIcon: FC;
104
134
 
135
+ export declare const ChevronIcon: FC;
136
+
105
137
  export declare const ClipboardExclamationIcon: FC;
106
138
 
107
139
  export declare const Clock: FC;
108
140
 
141
+ export declare const ClockIcon: () => JSX.Element;
142
+
109
143
  export declare const ClockPlusIcon: FC;
110
144
 
145
+ export declare const CloseIcon: () => JSX.Element;
146
+
111
147
  export declare const CloseMenuIcon: () => JSX.Element;
112
148
 
113
149
  export declare const CloseModalIcon: () => JSX.Element;
@@ -120,6 +156,8 @@ export declare const CloudDownloadIconSmall: () => JSX.Element;
120
156
 
121
157
  export declare const CloudUploadIcon: () => JSX.Element;
122
158
 
159
+ export declare const CompleteIcon: FC;
160
+
123
161
  export declare const ConfirmedIcon: () => JSX.Element;
124
162
 
125
163
  export declare const ContactsAndFamilyIcon: () => JSX.Element;
@@ -128,13 +166,17 @@ export declare const ContractsIcon: FC;
128
166
 
129
167
  export declare const ContractsZeroStateIcon: FC;
130
168
 
169
+ export declare const CorrectDatesIcon: FC;
170
+
131
171
  export declare const CrossCancelIcon: () => JSX.Element;
132
172
 
133
173
  export declare const CrossIcon: () => JSX.Element;
134
174
 
135
175
  export declare const CsvIcon: () => JSX.Element;
136
176
 
137
- export declare const DateSeparator: ({ date, noIcon }: Props_2) => JSX.Element;
177
+ export declare const CurrentRotationIcon: FC;
178
+
179
+ export declare const DateSeparator: ({ date, noIcon }: Props_3) => JSX.Element;
138
180
 
139
181
  export declare const DeleteIcon: FC;
140
182
 
@@ -160,6 +202,10 @@ export declare const DoneIcon: () => JSX.Element;
160
202
 
161
203
  export declare const Dots: FC;
162
204
 
205
+ export declare const DotsHorizontalIcon: FC;
206
+
207
+ export declare const DrawSignatureIcon: () => JSX.Element;
208
+
163
209
  declare type DropdownAction = {
164
210
  label: string;
165
211
  onClick: () => void;
@@ -169,9 +215,12 @@ declare type DropdownAction = {
169
215
  export declare type DropdownOption = {
170
216
  label: string;
171
217
  value: string;
218
+ description?: string;
172
219
  disabled?: boolean;
173
220
  };
174
221
 
222
+ export declare const EarnedLeaveIcon: FC;
223
+
175
224
  export declare const EditIcon: FC;
176
225
 
177
226
  export declare const EditPenIcon: FC;
@@ -182,7 +231,7 @@ export declare const EmailSentIcon: () => JSX.Element;
182
231
 
183
232
  export declare const EmployeeDetailsIcon: FC;
184
233
 
185
- export declare class ErrorBoundary extends Component<Props_17, State> {
234
+ export declare class ErrorBoundary extends Component<Props_19, State> {
186
235
  state: State;
187
236
  static getDerivedStateFromError(error: Error): State;
188
237
  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;
@@ -190,8 +239,12 @@ export declare class ErrorBoundary extends Component<Props_17, State> {
190
239
 
191
240
  export declare const FileCursorIcon: FC;
192
241
 
242
+ export declare const FileDotsIcon: FC;
243
+
193
244
  export declare const fileNameWithoutExt: (path: string) => string;
194
245
 
246
+ export declare const FilePlusIcon: FC;
247
+
195
248
  export declare const FileTypePdfIcon: () => JSX.Element;
196
249
 
197
250
  export declare const FilterButton: FC<FilterButtonProps>;
@@ -241,15 +294,15 @@ export declare const formatPrice: (price: number) => string;
241
294
 
242
295
  export declare const FormCalendarIcon: () => JSX.Element;
243
296
 
244
- export declare const FormFieldCheckbox: ({ controlKey, options, labelText, required, disabled, exclusive, }: Props_7) => JSX.Element;
297
+ export declare const FormFieldCheckbox: ({ controlKey, options, labelText, required, disabled, exclusive, }: Props_9) => JSX.Element;
245
298
 
246
- export declare const FormFieldDatepicker: ({ controlKey, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_10) => JSX.Element;
299
+ export declare const FormFieldDatepicker: ({ controlKey, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_12) => JSX.Element;
247
300
 
248
- export declare const FormFieldDatepickerRange: ({ controlKeyStart, controlKeyEnd, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_11) => JSX.Element;
301
+ export declare const FormFieldDatepickerRange: ({ controlKeyStart, controlKeyEnd, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_13) => JSX.Element;
249
302
 
250
- export declare const FormFieldInput: ({ controlKey, labelText, type, required, disabled, numeric, digitsOnly, decimalPlaces, onAfterChange, errorText, }: Props_6) => JSX.Element;
303
+ export declare const FormFieldInput: ({ controlKey, labelText, type, required, disabled, numeric, digitsOnly, decimalPlaces, onAfterChange, errorText, }: Props_8) => JSX.Element;
251
304
 
252
- export declare const FormFieldMultiSelect: ForwardRefExoticComponent<Omit<Props_9<DropdownOption, true>, "options" | "isMulti" | "noOptionsMessage"> & {
305
+ export declare const FormFieldMultiSelect: ForwardRefExoticComponent<Omit<Props_11<DropdownOption, true>, "options" | "isMulti" | "noOptionsMessage"> & {
253
306
  controlKey: string;
254
307
  options: DropdownOption[];
255
308
  labelText?: string;
@@ -262,9 +315,9 @@ errorText?: string;
262
315
  optimize?: boolean;
263
316
  } & RefAttributes<SelectInstance<DropdownOption, true>>>;
264
317
 
265
- export declare const FormFieldRadio: ({ controlKey, options, label, tooltipText, required, disabled, }: Props_12) => JSX.Element;
318
+ export declare const FormFieldRadio: ({ controlKey, options, label, tooltipText, required, disabled, }: Props_14) => JSX.Element;
266
319
 
267
- export declare const FormFieldSelect: ForwardRefExoticComponent<Omit<Props_9<DropdownOption, false>, "options" | "noOptionsMessage"> & {
320
+ export declare const FormFieldSelect: ForwardRefExoticComponent<Omit<Props_11<DropdownOption, false>, "options" | "noOptionsMessage"> & {
268
321
  controlKey: string;
269
322
  options: DropdownOption[];
270
323
  labelText?: string;
@@ -278,9 +331,9 @@ optimize?: boolean;
278
331
  inline?: boolean;
279
332
  } & RefAttributes<SelectInstance<DropdownOption, false>>>;
280
333
 
281
- export declare const FormFieldTextarea: ({ controlKey, labelText, required, disabled, rows, errorText, }: Props_8) => JSX.Element;
334
+ export declare const FormFieldTextarea: ({ controlKey, labelText, required, disabled, rows, errorText, }: Props_10) => JSX.Element;
282
335
 
283
- export declare const FormFieldTimepicker: FC<Props_13>;
336
+ export declare const FormFieldTimepicker: FC<Props_15>;
284
337
 
285
338
  export declare const getBadgeTitle: (status: string) => string;
286
339
 
@@ -300,12 +353,16 @@ export declare const GithubIcon: FC;
300
353
 
301
354
  export declare const GreenCircleIcon: FC;
302
355
 
356
+ export declare const GreenMoneyIcon: FC;
357
+
303
358
  export declare const GreenTriangleIcon: FC;
304
359
 
305
360
  export declare const HamburgerMenuIcon: () => JSX.Element;
306
361
 
307
362
  export declare const HomeIcon: FC;
308
363
 
364
+ export declare const HomeIcon2: FC;
365
+
309
366
  export declare const HotelIcon: FC;
310
367
 
311
368
  export declare const IconBell: () => JSX.Element;
@@ -314,6 +371,8 @@ export declare const IconWarning: () => JSX.Element;
314
371
 
315
372
  export declare const IconX: () => JSX.Element;
316
373
 
374
+ export declare const InfoIcon: FC;
375
+
317
376
  export declare const isImage: (extension: string) => boolean;
318
377
 
319
378
  export declare const IsoIcon: () => JSX.Element;
@@ -332,7 +391,9 @@ export declare const JpgIcon: () => JSX.Element;
332
391
 
333
392
  export declare const LinkIcon: () => JSX.Element;
334
393
 
335
- export declare const Loader: ({ size }: Props_14) => JSX.Element;
394
+ export declare const Loader: ({ size }: Props_16) => JSX.Element;
395
+
396
+ export declare const LoadingSpinnerIcon: FC;
336
397
 
337
398
  export declare const Logo: () => JSX.Element;
338
399
 
@@ -352,7 +413,7 @@ export declare const MedicalsIcon: FC;
352
413
 
353
414
  export declare const MedicalsZeroStateIcon: FC;
354
415
 
355
- export declare const MessageBoxError: ({ errorTag, error }: Props_16) => JSX.Element;
416
+ export declare const MessageBoxError: ({ errorTag, error }: Props_18) => JSX.Element;
356
417
 
357
418
  export declare const MessageBubble: FC;
358
419
 
@@ -380,6 +441,8 @@ export declare const NoNewRequestsIcon: () => JSX.Element;
380
441
 
381
442
  export declare const NotFoundHeading: () => JSX.Element;
382
443
 
444
+ export declare const NoTyposIcon: FC;
445
+
383
446
  export declare const OpenArrowIcon: FC;
384
447
 
385
448
  export declare const OpenIcon: FC;
@@ -392,9 +455,11 @@ declare type PageLoaderProps = {
392
455
  text?: ReactNode;
393
456
  };
394
457
 
395
- export declare const PageWrapper: ({ children, additionalClassName }: Props_15) => JSX.Element;
458
+ export declare const PageWrapper: ({ children, additionalClassName }: Props_17) => JSX.Element;
459
+
460
+ export declare const Pagination: FC<Props_5>;
396
461
 
397
- export declare const Pagination: FC<Props_4>;
462
+ export declare const PassportIcon: FC;
398
463
 
399
464
  export declare const PasswordLockIcon: () => JSX.Element;
400
465
 
@@ -410,6 +475,8 @@ export declare const PendingIcon: () => JSX.Element;
410
475
 
411
476
  export declare const PenIcon: FC;
412
477
 
478
+ export declare const PeopleIcon: FC;
479
+
413
480
  export declare const PhoneLogo: () => JSX.Element;
414
481
 
415
482
  export declare const PlaceholderCertificatesIcon: FC;
@@ -437,6 +504,15 @@ declare type Props = {
437
504
  };
438
505
 
439
506
  declare type Props_10 = {
507
+ controlKey: string;
508
+ labelText?: string;
509
+ required?: boolean;
510
+ disabled?: boolean;
511
+ rows?: number;
512
+ errorText?: string;
513
+ };
514
+
515
+ declare type Props_12 = {
440
516
  controlKey: string;
441
517
  labelText?: string;
442
518
  placeholder?: string;
@@ -450,7 +526,7 @@ declare type Props_10 = {
450
526
  errorText?: string;
451
527
  };
452
528
 
453
- declare type Props_11 = {
529
+ declare type Props_13 = {
454
530
  controlKeyStart: string;
455
531
  controlKeyEnd: string;
456
532
  labelText?: string;
@@ -465,7 +541,7 @@ declare type Props_11 = {
465
541
  errorText?: string;
466
542
  };
467
543
 
468
- declare type Props_12 = {
544
+ declare type Props_14 = {
469
545
  controlKey: string;
470
546
  options: RadioOption[];
471
547
  label?: string;
@@ -474,7 +550,7 @@ declare type Props_12 = {
474
550
  disabled?: boolean;
475
551
  };
476
552
 
477
- declare type Props_13 = {
553
+ declare type Props_15 = {
478
554
  controlKey: string;
479
555
  labelText: string;
480
556
  required?: boolean;
@@ -483,40 +559,49 @@ declare type Props_13 = {
483
559
  errorText?: string;
484
560
  };
485
561
 
486
- declare type Props_14 = {
562
+ declare type Props_16 = {
487
563
  size?: number;
488
564
  };
489
565
 
490
- declare type Props_15 = {
566
+ declare type Props_17 = {
491
567
  children: ReactNode;
492
568
  additionalClassName?: string | undefined;
493
569
  };
494
570
 
495
- declare type Props_16 = {
571
+ declare type Props_18 = {
496
572
  errorTag?: string;
497
573
  error?: string;
498
574
  };
499
575
 
500
- declare type Props_17 = {
576
+ declare type Props_19 = {
501
577
  children: ReactNode;
502
578
  };
503
579
 
504
- declare type Props_18 = {
580
+ declare type Props_2 = {
581
+ checked: boolean;
582
+ onChange: (checked: boolean) => void;
583
+ labelText?: string;
584
+ disabled?: boolean;
585
+ indeterminate?: boolean;
586
+ name?: string;
587
+ };
588
+
589
+ declare type Props_20 = {
505
590
  className?: string;
506
591
  };
507
592
 
508
- declare type Props_2 = {
593
+ declare type Props_3 = {
509
594
  date: string;
510
595
  noIcon?: boolean;
511
596
  };
512
597
 
513
- declare type Props_3 = {
598
+ declare type Props_4 = {
514
599
  icon?: ReactNode;
515
600
  illustration?: ReactNode;
516
601
  text: string;
517
602
  };
518
603
 
519
- declare type Props_4 = {
604
+ declare type Props_5 = {
520
605
  additionalClassName?: string;
521
606
  handleClick?: (pageNumber: number) => void;
522
607
  page: number;
@@ -527,7 +612,20 @@ declare type Props_4 = {
527
612
  showResultCount?: boolean;
528
613
  };
529
614
 
530
- declare type Props_5 = {
615
+ declare type Props_6 = {
616
+ options: DropdownOption[];
617
+ value?: DropdownOption | null | undefined;
618
+ defaultValue?: DropdownOption | undefined;
619
+ onChange?: ((value: DropdownOption) => void) | undefined;
620
+ placeholder?: string | undefined;
621
+ isSearchable?: boolean | undefined;
622
+ disabled?: boolean | undefined;
623
+ variant?: 'link' | 'default' | undefined;
624
+ menuPlacement?: 'auto' | 'bottom' | 'top' | undefined;
625
+ additionalClassName?: string | undefined;
626
+ };
627
+
628
+ declare type Props_7 = {
531
629
  tooltipText?: string;
532
630
  content?: string;
533
631
  html?: string;
@@ -540,7 +638,7 @@ declare type Props_5 = {
540
638
  ariaLabel?: string;
541
639
  };
542
640
 
543
- declare type Props_6 = {
641
+ declare type Props_8 = {
544
642
  controlKey: string;
545
643
  labelText?: string;
546
644
  type?: string;
@@ -553,7 +651,7 @@ declare type Props_6 = {
553
651
  errorText?: string;
554
652
  };
555
653
 
556
- declare type Props_7 = {
654
+ declare type Props_9 = {
557
655
  controlKey: string;
558
656
  options?: DropdownOption[];
559
657
  labelText?: string;
@@ -562,15 +660,6 @@ declare type Props_7 = {
562
660
  exclusive?: boolean;
563
661
  };
564
662
 
565
- declare type Props_8 = {
566
- controlKey: string;
567
- labelText?: string;
568
- required?: boolean;
569
- disabled?: boolean;
570
- rows?: number;
571
- errorText?: string;
572
- };
573
-
574
663
  export declare const PurchaseOrderIcon: FC;
575
664
 
576
665
  export declare const PurchaseRequestsIcon: FC;
@@ -586,6 +675,8 @@ export declare type RadioOption = {
586
675
  description?: string;
587
676
  };
588
677
 
678
+ export declare const RankIcon: FC;
679
+
589
680
  export declare const RarIcon: () => JSX.Element;
590
681
 
591
682
  export declare const RedCloseXIcon: FC;
@@ -616,16 +707,30 @@ export declare const SearchIcon: FC;
616
707
 
617
708
  export declare const SearchSmallIcon: FC;
618
709
 
710
+ export declare const Select: FC<Props_6>;
711
+
619
712
  export declare const SendIcon: FC;
620
713
 
621
714
  export declare const ServerErrorHeading: () => JSX.Element;
622
715
 
716
+ export declare const ServerErrorIcon: FC;
717
+
623
718
  export declare const ShareIcon: FC;
624
719
 
720
+ export declare const ShipIcon: FC;
721
+
722
+ export declare const ShipWheelIcon: FC;
723
+
625
724
  export declare const SignOffIcon: FC;
626
725
 
726
+ export declare const SignOnIcon: FC;
727
+
728
+ export declare const SortDownIcon: () => JSX.Element;
729
+
627
730
  export declare const SpinnerCircularIcon: () => JSX.Element;
628
731
 
732
+ export declare const SpinnerCircularWhiteIcon: () => JSX.Element;
733
+
629
734
  declare type State = {
630
735
  hasError: boolean;
631
736
  errorMessage: string;
@@ -660,7 +765,7 @@ export declare type TableSortState = {
660
765
  direction: 'asc' | 'desc';
661
766
  } | null;
662
767
 
663
- export declare const TableZeroStateRow: ({ icon, illustration, text }: Props_3) => JSX.Element;
768
+ export declare const TableZeroStateRow: ({ icon, illustration, text }: Props_4) => JSX.Element;
664
769
 
665
770
  export declare const TiffIcon: () => JSX.Element;
666
771
 
@@ -687,7 +792,7 @@ declare type ToggleViewProps = {
687
792
  disabled?: boolean;
688
793
  };
689
794
 
690
- export declare const Tooltip: ({ tooltipText, content, html, children, place, position, delay, className, wrapperClassName, ariaLabel, }: Props_5) => JSX.Element | null;
795
+ export declare const Tooltip: ({ tooltipText, content, html, children, place, position, delay, className, wrapperClassName, ariaLabel, }: Props_7) => JSX.Element | null;
691
796
 
692
797
  declare type TooltipPlace = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
693
798
 
@@ -705,6 +810,10 @@ export declare const UnconfirmedIcon: () => JSX.Element;
705
810
 
706
811
  export declare const UploadCompletedIcon: () => JSX.Element;
707
812
 
813
+ export declare const UploadFailedIcon: () => JSX.Element;
814
+
815
+ export declare const UploadSpinnerIcon: () => JSX.Element;
816
+
708
817
  export declare const UserHouseIcon: FC;
709
818
 
710
819
  export declare const UserIcon: FC;
@@ -725,6 +834,8 @@ export declare const XIcon2: FC;
725
834
 
726
835
  export declare const XlsIcon: () => JSX.Element;
727
836
 
837
+ export declare const YellowCircleIcon: FC;
838
+
728
839
  export declare const ZipIcon: () => JSX.Element;
729
840
 
730
841
  export { }