@sikka/hawa 0.1.43 → 0.1.46

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.mts CHANGED
@@ -1,1667 +1,15 @@
1
- import * as React$1 from 'react';
2
- import React__default, { FC, ChangeEvent, ReactElement, ReactNode, RefObject, PropsWithRef, ButtonHTMLAttributes } from 'react';
3
- import { BaseEditor } from 'slate';
4
- import { ReactEditor } from 'slate-react';
5
1
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
+ import * as React from 'react';
6
3
  import { VariantProps } from 'class-variance-authority';
7
- import * as LabelPrimitive from '@radix-ui/react-label';
8
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
9
- import * as TabsPrimitive from '@radix-ui/react-tabs';
10
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
11
- import * as ToastPrimitives from '@radix-ui/react-toast';
12
-
13
- type THawaSnackBar = {
14
- severity: "info" | "warning" | "error" | "success" | "none";
15
- title: string;
16
- description: string;
17
- onCloseSnakbar?: () => void;
18
- duration?: number;
19
- position?: "top-left" | "top-center" | "top-right" | "bottom-right" | "bottom-center" | "bottom-left";
20
- actions?: [
21
- {
22
- icon?: any;
23
- label: string;
24
- onClick: any;
25
- variant: "contained" | "outlined";
26
- }
27
- ];
28
- };
29
- declare const HawaSnackbar: FC<THawaSnackBar>;
30
-
31
- type SwitchTypes = {
32
- text?: any;
33
- size?: "small" | "normal" | "large";
34
- };
35
- declare const HawaSwitch: FC<SwitchTypes>;
36
-
37
- type TCheckBoxTypes = {
38
- centered?: boolean;
39
- label?: any;
40
- helperText?: any;
41
- id: string;
42
- onChange?: (e: any) => void;
43
- val?: boolean;
44
- };
45
- declare const HawaCheckbox: FC<TCheckBoxTypes>;
46
-
47
- type PanelTabsTypes = {
48
- defaultValue: any;
49
- options: [{
50
- label: string;
51
- value: string;
52
- }];
53
- lang: any;
54
- handleChange: any;
55
- location: any;
56
- };
57
- declare const HawaPanelTabs: FC<PanelTabsTypes>;
58
-
59
- type TChipTypes = {
60
- /** The text inside the chip */
61
- label: string;
62
- /** The small icon before the chip label */
63
- icon?: JSX.Element;
64
- /** The color of the chip, must be a tailwind color */
65
- color?: string;
66
- /** The size of the chip */
67
- size?: "small" | "normal" | "large";
68
- /** Enable/Disable the dot before the label of the chip */
69
- dot?: boolean;
70
- /** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
71
- dotType?: "available" | "unavailable";
72
- };
73
- declare const HawaChip: FC<TChipTypes>;
74
-
75
- type IconCountTypes = {
76
- /** The icon of the counter */
77
- icon: JSX.Element;
78
- /** The text next to the icon */
79
- count?: string;
80
- };
81
- declare const HawaIconCount: FC<IconCountTypes>;
82
-
83
- type SettingsRowTypes = {
84
- settingsLabel: string;
85
- settingsType: "text" | "radio" | "boolean" | "color" | "range" | "select";
86
- settingsDescription?: string;
87
- radioProps: {
88
- defaultValue: any;
89
- onChangeTab: any;
90
- options: [{
91
- label: string;
92
- value: any;
93
- }];
94
- };
95
- colorProps: {
96
- color?: any;
97
- handleChange?: any;
98
- };
99
- rangeProps: {
100
- min?: any;
101
- max?: any;
102
- };
103
- switchProps: {
104
- size: "small" | "normal" | "large";
105
- };
106
- selectProps: {
107
- label?: string;
108
- options?: any[any];
109
- isCreatable?: boolean;
110
- isClearable?: boolean;
111
- isMulti?: boolean;
112
- isSearchable?: boolean;
113
- onChange?: any;
114
- helperText?: any;
115
- onInputChange?: any;
116
- native?: any;
117
- fullWidth?: any;
118
- value?: any;
119
- children?: any;
120
- getOptionLabel?: any;
121
- disabled?: boolean;
122
- };
123
- };
124
- declare const HawaSettingsRow: FC<SettingsRowTypes>;
125
-
126
- type SelectTypes = {
127
- label?: string;
128
- options?: {
129
- value: any;
130
- label: any;
131
- }[];
132
- isCreatable?: boolean;
133
- isClearable?: boolean;
134
- isMulti?: boolean;
135
- isSearchable?: boolean;
136
- onChange?: any;
137
- helperText?: any;
138
- onInputChange?: any;
139
- native?: any;
140
- width?: "full" | "small";
141
- value?: any;
142
- children?: any;
143
- getOptionLabel?: any;
144
- disabled?: boolean;
145
- };
146
- declare const HawaSelect: FC<SelectTypes>;
147
-
148
- type RangeTypes = {
149
- value?: any;
150
- handleChange?: any;
151
- startElement?: any;
152
- endElement?: any;
153
- label?: string;
154
- min?: any;
155
- max?: any;
156
- };
157
- declare const HawaRange: FC<RangeTypes>;
158
-
159
- type TypographyTypes$1 = {
160
- children: any;
161
- align?: any;
162
- };
163
- declare const HawaTypography: FC<TypographyTypes$1>;
164
-
165
- type AlertTypes = {
166
- severity: "info" | "warning" | "error" | "success";
167
- /** The title of the alert placed above the text of the alert. Can be used alone */
168
- title?: any;
169
- /** The text of the alert placed below the title of the alert. Can be used alone */
170
- text: any;
171
- /** The duration for the alert to stay on the screen */
172
- duration?: number;
173
- variant?: "normal" | "solid" | "top-accent" | "left-accent" | "right-accent" | "bottom-accent";
174
- direction?: "rtl" | "ltr";
175
- actions?: [
176
- {
177
- label: string;
178
- onClick: any;
179
- variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
180
- }
181
- ];
182
- persistant?: boolean;
183
- icon?: any;
184
- };
185
- declare const HawaAlert: React__default.FunctionComponent<AlertTypes>;
186
-
187
- type RowTypes = {
188
- hidden: boolean;
189
- value: any;
190
- suffix?: any;
191
- };
192
- type ColTypes = {
193
- hidden: boolean;
194
- value: any;
195
- sortable?: boolean;
196
- };
197
- type TableTypes = {
198
- pagination?: boolean;
199
- columns: ColTypes[];
200
- actions?: ActionItems[][];
201
- direction?: "rtl" | "ltr";
202
- rows?: RowTypes[][];
203
- handleActionClick?: any;
204
- end?: any;
205
- size?: "normal" | "small";
206
- highlightFirst?: boolean;
207
- bodyColor?: string;
208
- headerColor?: string;
209
- clickable?: boolean;
210
- texts?: {
211
- actions?: string;
212
- noData?: any;
213
- items?: string;
214
- page?: string;
215
- filter?: string;
216
- };
217
- bordersWidth?: string;
218
- onActionClicked?: any;
219
- headerTools?: boolean;
220
- borders?: "all" | "cols" | "rows" | "outer" | "inner";
221
- };
222
- type ActionItems = {
223
- icon?: JSX.Element;
224
- label: string;
225
- action?: (e: any) => void;
226
- isButton?: boolean;
227
- element?: any;
228
- };
229
- declare const HawaTable: FC<TableTypes>;
230
-
231
- type ColorPickerTypes = {
232
- /** The hex code for the color */
233
- color?: any;
234
- /** Fires everytime the color changes */
235
- handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
236
- };
237
- declare const HawaColorPicker: FC<ColorPickerTypes>;
238
-
239
- type SearchBarTypes = {};
240
- declare const HawaSearchBar: FC<SearchBarTypes>;
241
-
242
- type AccordionTypes = {
243
- /** The title of the clickable accordion bar */
244
- title: string;
245
- /** The content inside the accordion to be visible once the bar is clicked */
246
- content: any;
247
- /** The index of each accordion, must be unique for each usage of this component */
248
- index: any;
249
- };
250
- declare const HawaAccordion: FC<AccordionTypes>;
251
-
252
- type HawaPhoneInputTypes = {
253
- preferredCountry?: any;
254
- helperText?: any;
255
- label?: string;
256
- value?: any;
257
- country?: any;
258
- handleChange?: any;
259
- };
260
- declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
261
-
262
- type THawaToolTip = {
263
- children?: ReactElement;
264
- content?: string;
265
- btnHovered?: any;
266
- buttonRef?: any;
267
- direction?: "rtl" | "ltr";
268
- size?: "normal" | "small" | "large";
269
- position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
270
- };
271
- declare const HawaTooltip: FC<THawaToolTip>;
272
-
273
- type TabsTypes$1 = {
274
- options?: any;
275
- onChangeTab?: (option: any) => void;
276
- defaultValue?: any;
277
- orientation?: "horizontal" | "vertical";
278
- direction?: "rtl" | "ltr";
279
- marginBetween?: any;
280
- width?: "full" | "normal";
281
- pill?: boolean;
282
- };
283
- declare const HawaTabs: FC<TabsTypes$1>;
284
-
285
- type ModalTypes = {
286
- /** * The boolean to open and close the modal */
287
- open: boolean;
288
- /** * The title of the modal, it will appear in the header of the modal */
289
- title: string;
290
- /**
291
- * a function that's triggered when the modal is closed either by the clicking the close button or outside the modal.
292
- * @returns void
293
- */
294
- onClose: () => void;
295
- /** * Boolean to enable/disable closing the modal upon clicking outside the modal */
296
- closeOnClickOutside?: boolean;
297
- /** * The id of the modal */
298
- modalID?: string;
299
- children: ReactElement;
300
- /** * The array of actions for the modal, it will appear in the footer of the modal */
301
- actions: any;
302
- };
303
- declare const HawaModal: FC<ModalTypes>;
304
-
305
- interface TMenuTypes$1 {
306
- menuItems: MenuItems$1[][];
307
- withHeader?: boolean;
308
- headerTitle?: string;
309
- headerSubtitle?: string;
310
- direction?: "rtl" | "ltr";
311
- anchor?: any;
312
- children?: ReactNode;
313
- position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
314
- onClickOutside?: any;
315
- actionedItem?: any;
316
- size?: "small" | "normal" | "large";
317
- }
318
- type MenuItems$1 = {
319
- icon?: JSX.Element;
320
- disabled?: boolean;
321
- label: string;
322
- action?: (e: any) => void;
323
- isButton?: boolean;
324
- element?: any;
325
- };
326
- declare const HawaMenu: FC<TMenuTypes$1>;
327
-
328
- interface TMenuTypes {
329
- children?: any;
330
- direction?: "rtl" | "ltr";
331
- }
332
- declare const HawaDropdownMenu: FC<TMenuTypes>;
333
-
334
- type CopyRightsTypes = {
335
- /** A text used as the version of the app, for example: v1.0.0 */
336
- version?: string;
337
- /** Credit to the creator of the app, for example: Sikka Software */
338
- credits?: string;
339
- /** The URL of the logo in the copyrights */
340
- logoURL?: string;
341
- /** Enable/Disable the existance of the logo */
342
- withLogo?: boolean;
343
- /** Fires when the logo is clicked, usually goes to the website of the creator of the app */
344
- onLogoClicked?: any;
345
- };
346
- declare const HawaCopyrights: FC<CopyRightsTypes>;
347
-
348
- type THawaTimeline = {
349
- steps: any[any];
350
- currentStep: any;
351
- orientation: "vertical" | "horizontal";
352
- };
353
- declare const HawaStepper: FC<THawaTimeline>;
354
-
355
- type StatTypes = {
356
- label?: string;
357
- color?: string;
358
- number?: string;
359
- helperText?: string;
360
- icon?: any;
361
- variant?: "default" | "plain" | "contained" | "outlined" | "brutalist" | "dropshadow";
362
- width?: "full" | "min" | "normal";
363
- isLoading?: boolean;
364
- handleClick?: () => void;
365
- };
366
- declare const HawaStats: FC<StatTypes>;
367
-
368
- type CodeBlockTypes = {
369
- color?: "dark" | "light";
370
- language?: string;
371
- width?: "full" | "md" | "sm";
372
- tabs?: TabsTypes[];
373
- fileName?: string;
374
- code?: string;
375
- };
376
- type TabsTypes = {
377
- title: string;
378
- code: string;
379
- };
380
- declare const HawaCodeBlock: FC<CodeBlockTypes>;
381
-
382
- type LoadingTypes = {
383
- size?: "button" | "sm" | "normal" | "lg" | "xl";
384
- design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
385
- color?: any;
386
- };
387
- declare const HawaLoading: FC<LoadingTypes>;
388
-
389
- type RadioTypes = {
390
- orientation?: "vertical" | "horizontal";
391
- design?: "default" | "tabs" | "cards" | "bordered";
392
- options?: {
393
- value: any;
394
- label: any;
395
- disabled?: any;
396
- sublabel?: any;
397
- icon?: any;
398
- }[];
399
- width?: "default" | "full";
400
- onChangeTab?: any;
401
- defaultValue?: any;
402
- };
403
- declare const HawaRadio: FC<RadioTypes>;
404
-
405
- type DatepickerTypes = {};
406
- declare const HawaDatepicker: FC<DatepickerTypes>;
407
-
408
- type DragDropImagesTypes = {
409
- /** The text label above the component. Consistant with the other form input fields */
410
- label?: string;
411
- files: [File];
412
- setFiles: any;
413
- setDeletedFiles: any;
414
- maxFiles: number;
415
- accept: string;
416
- onAcceptedFiles: any;
417
- showPreview: any;
418
- onDeleteFile: any;
419
- onClearFiles: any;
420
- maxSize: number;
421
- errorMessages: string;
422
- /** The translation object, use this to replace the default text with any translated text you want.*/
423
- texts: {
424
- errorUploading: any;
425
- clickHereToUpload: any;
426
- maxFileSize: any;
427
- tooManyFiles: any;
428
- fileTooLarge: any;
429
- acceptedFileTypes: any;
430
- invalidFileType: any;
431
- };
432
- };
433
- declare const DragDropImages: React__default.FunctionComponent<DragDropImagesTypes>;
434
-
435
- type DraggableCardTypes = {
436
- children: ReactElement;
437
- };
438
- declare const DraggableCard: FC<DraggableCardTypes>;
439
-
440
- type SubsectionListTypes = {
441
- align?: any;
442
- subsections: [
443
- {
444
- title: string;
445
- sections: [
446
- {
447
- label: string;
448
- action: () => void;
449
- icon?: any;
450
- value?: any;
451
- }
452
- ];
453
- }
454
- ];
455
- };
456
- declare const SubsectionList: FC<SubsectionListTypes>;
457
-
458
- type UsageCardTypes = {
459
- tooltip?: any;
460
- title: any;
461
- percent: any;
462
- currentUsage: any;
463
- };
464
- declare const UsageCard: FC<UsageCardTypes>;
465
-
466
- type InvoiceAccordionTypes = {
467
- products: {
468
- usage?: string;
469
- price?: string;
470
- amount?: string;
471
- plan?: string;
472
- }[];
473
- texts: {
474
- total: string;
475
- plan: string;
476
- usage: string;
477
- amount: string;
478
- price: string;
479
- };
480
- invoiceTitle: string;
481
- invoiceSubtitle: string;
482
- invoiceDescription?: string;
483
- invoiceActions?: {
484
- icon?: JSX.Element;
485
- label: string;
486
- action?: (e: any) => void;
487
- isButton?: boolean;
488
- element?: any;
489
- }[][];
490
- total: any;
491
- direction?: "rtl" | "ltr";
492
- status?: "paid" | "pending" | "overdue";
493
- };
494
- declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
495
-
496
- type ComponentTypes$4 = {
497
- title?: string;
498
- question: string;
499
- options?: [];
500
- texts?: {
501
- least: string;
502
- most: string;
503
- };
504
- position?: "bottom-right" | "bottom-left";
505
- onOptionClicked?: (option: any) => void;
506
- };
507
- declare const UserFeedback: FC<ComponentTypes$4>;
508
-
509
- type Item$4 = {
510
- label?: string;
511
- icon?: JSX.Element;
512
- };
513
- type ComponentTypes$3 = {
514
- items: Item$4[];
515
- index?: number;
516
- arrowSize?: number;
517
- labelSize?: "small" | "medium" | "big";
518
- };
519
- declare const ArrowCarousel: FC<ComponentTypes$3>;
520
-
521
- type ComponentTypes$2 = {
522
- rtl?: "enabled" | "disabled" | "auto";
523
- onSubmit?: (content: string, stylings: {
524
- type: keyof typeof stylers;
525
- start: number;
526
- finish: number;
527
- }[]) => void;
528
- };
529
- declare const stylers: {
530
- bold: {
531
- css: string;
532
- content: string;
533
- };
534
- italic: {
535
- id: string;
536
- css: string;
537
- content: string;
538
- };
539
- under: {
540
- id: string;
541
- css: string;
542
- content: string;
543
- };
544
- strike: {
545
- id: string;
546
- css: string;
547
- content: string;
548
- };
549
- };
550
- declare const FloatingComment: React__default.FunctionComponent<ComponentTypes$2>;
551
-
552
- type CustomElement = {
553
- type: "paragraph";
554
- children: CustomText[];
555
- };
556
- type CustomText = {
557
- text: string;
558
- };
559
- declare module "slate" {
560
- interface CustomTypes {
561
- Editor: BaseEditor & ReactEditor;
562
- Element: CustomElement;
563
- Text: CustomText;
564
- }
565
- }
566
- declare const FloatingCommentSlate: () => React__default.JSX.Element;
567
-
568
- type ComponentTypes$1 = {};
569
- declare const FloatingCommentExec: React__default.FC<ComponentTypes$1>;
570
-
571
- type ComponentTypes = {
572
- paddingX?: number;
573
- paddingY?: number;
574
- paddingThreshold?: number;
575
- corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
576
- anchor: RefObject<HTMLInputElement>;
577
- };
578
- declare const BackToTop: FC<ComponentTypes>;
579
-
580
- type InlineCodeTypes = {
581
- text: string;
582
- };
583
- declare const HawaInlineCode: FC<InlineCodeTypes>;
584
-
585
- type TimelineTypes = {
586
- title: any;
587
- steps: StepTypes[];
588
- };
589
- type StepTypes = {
590
- date: string;
591
- title: string;
592
- description?: string;
593
- actions?: any;
594
- };
595
- declare const Timeline: FC<TimelineTypes>;
596
-
597
- type TextFieldTypes = {
598
- margin?: "none" | "normal" | "large";
599
- width?: "small" | "normal" | "full";
600
- /** The label of the input field */
601
- label?: any;
602
- /** Disable/Enable multiple line text input field */
603
- multiline?: boolean;
604
- /** The small red text under the input field to show validation or a hint. */
605
- helpertext?: any;
606
- /** The value of the input field */
607
- value?: any;
608
- props?: PropsWithRef<"input">;
609
- /** The type of input field. Same as the types of <input/> component */
610
- type?: any;
611
- /** The placeholder of the input field */
612
- placeholder?: any;
613
- defaultValue?: any;
614
- name?: any;
615
- inputProps?: any;
616
- onChange?: any;
617
- ref?: any;
618
- /** The icon inside the input field */
619
- icon?: any;
620
- /** Boolean to enable/disable editing the input field and using it as a text field */
621
- preview?: boolean;
622
- autoComplete?: any;
623
- maxLength?: any;
624
- };
625
- declare const HawaTextField: FC<TextFieldTypes>;
626
-
627
- type PinInputTypes = {
628
- label?: string;
629
- icon?: JSX.Element;
630
- digits: number;
631
- width?: "normal" | "full";
632
- getPins?: any;
633
- };
634
- declare const HawaPinInput: FC<PinInputTypes>;
635
-
636
- interface ItemCardTypes {
637
- headerActions?: THeaderActions[][];
638
- header?: any;
639
- content?: any;
640
- /** a URL for the image of the card */
641
- cardImage?: string;
642
- /** a function that fires when the card is clicked anywhere */
643
- onCardClick?: any;
644
- /** a React node with HawaIconCount children to have counters at the bottom of the card */
645
- counts?: JSX.Element;
646
- /** The action buttons on the bottom right of the card */
647
- actions?: JSX.Element;
648
- /** The orientation of the card */
649
- orientation?: "horizontal" | "vertical";
650
- /** Enabling this blurs the image on hover and shows an action button */
651
- clickableImage?: boolean;
652
- /** The function of the action button on the image of the card */
653
- clickableImageAction?: () => void;
654
- /** The text of the action button on the image of the card */
655
- clickableImageActionText: string;
656
- /** The icon of the action button on the image of the card */
657
- clickableImageActionIcon?: any;
658
- }
659
- type THeaderActions = {
660
- icon?: JSX.Element;
661
- label: string;
662
- action?: (e: any) => void;
663
- isButton?: boolean;
664
- };
665
- declare const HawaItemCard: FC<ItemCardTypes>;
666
-
667
- type PricingCardTypes = {
668
- direction?: "rtl" | "ltr";
669
- features: [{
670
- included: boolean;
671
- text: string;
672
- }];
673
- price: number;
674
- texts: {
675
- title: string;
676
- subtitle: string;
677
- buttonText: string;
678
- cycleText: string;
679
- currencyText: string;
680
- };
681
- onPlanClicked?: () => void;
682
- currentPlan?: boolean;
683
- size: "small" | "medium" | "large";
684
- };
685
- declare const HawaPricingCard: FC<PricingCardTypes>;
686
-
687
- type AdCardTypes = {
688
- orientation: "vertical" | "horizontal";
689
- title: string;
690
- description: string;
691
- imageURL: string;
692
- handleHide: any;
693
- };
694
- declare const HawaAdCard: FC<AdCardTypes>;
695
-
696
- type LandingCardTypes = {
697
- orientation: "vertical" | "horizontal";
698
- title: string;
699
- description: string;
700
- imageURL: string;
701
- handleHide: any;
702
- texts?: {
703
- titleTip?: string;
704
- title?: string;
705
- description?: string;
706
- linkText?: string;
707
- };
708
- buttonLink?: string;
709
- className?: any;
710
- };
711
- declare const HawaLandingCard: FC<LandingCardTypes>;
712
-
713
- interface ButtonProps$1 extends ButtonHTMLAttributes<HTMLButtonElement> {
714
- variant?: "contained" | "outlined";
715
- feedback?: string;
716
- tooltipDirection?: "rtl" | "ltr";
717
- color?: "default" | "primary" | "secondary" | "light" | "dark";
718
- width?: "full" | "normal" | "half";
719
- size?: "xs" | "small" | "medium" | "large" | "noPadding" | "full" | "icon";
720
- margins?: "none" | "1" | "2" | "3" | "4";
721
- tooltip?: string;
722
- tooltipSize?: "normal" | "small" | "large";
723
- tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
724
- startIcon?: any;
725
- endIcon?: any;
726
- isLoading?: boolean;
727
- badge?: any;
728
- edgeCorner?: any;
729
- disabled?: boolean;
730
- }
731
- declare const HawaButton: FC<ButtonProps$1>;
732
-
733
- type StoreButtonsTypes = {
734
- store: "apple" | "google";
735
- mode: "dark" | "light";
736
- };
737
- declare const HawaStoreButtons: FC<StoreButtonsTypes>;
738
-
739
- type LogoButtonTypes = {
740
- lang?: any;
741
- logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
742
- onClick?: any;
743
- buttonText?: any;
744
- direction?: "rtl" | "ltr";
745
- };
746
- declare const HawaLogoButton: FC<LogoButtonTypes>;
747
4
 
748
5
  declare const buttonVariants: (props?: {
749
- variant?: "link" | "default" | "secondary" | "light" | "outline" | "destructive" | "ghost";
6
+ variant?: "link" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost";
750
7
  size?: "sm" | "lg" | "xl" | "default" | "xs" | "icon" | "smallIcon";
751
8
  } & class_variance_authority_dist_types.ClassProp) => string;
752
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
753
10
  asChild?: boolean;
754
11
  isLoading?: boolean;
755
12
  }
756
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
757
-
758
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp) => string> & React$1.RefAttributes<HTMLLabelElement>>;
759
-
760
- interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
761
- preview?: boolean;
762
- }
763
- declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
764
-
765
- type TooltipTypes = {
766
- open?: any;
767
- side?: "top" | "right" | "bottom" | "left";
768
- content?: any;
769
- children?: any;
770
- defaultOpen?: any;
771
- onOpenChange?: any;
772
- delayDuration?: any;
773
- };
774
- declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
775
-
776
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
777
- clickable?: boolean;
778
- }
779
- declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
780
- declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
781
- declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
782
- declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
783
- declare const CardContent: React$1.ForwardRefExoticComponent<{
784
- headless?: boolean;
785
- } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
786
- declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
787
-
788
- declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): React__default.JSX.Element;
789
-
790
- type TypographyTypes = {
791
- handleLanguage: (e: any) => void;
792
- currentLanguage: any;
793
- handleColorMode: (e: any) => void;
794
- currentColorMode: any;
795
- orientation?: "vertical" | "horizontal";
796
- width?: "default" | "full";
797
- };
798
- declare const InterfaceSettings: FC<TypographyTypes>;
799
-
800
- type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
801
- type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
802
- type SubItem$3 = {
803
- label: string;
804
- value: string;
805
- action?: () => void;
806
- highlighted?: boolean;
807
- };
808
- type Item$3 = {
809
- label: string;
810
- value: string;
811
- action?: () => void;
812
- highlighted?: boolean;
813
- subitems?: SubItem$3[];
814
- };
815
- declare const DropdownMenu: ({ trigger, items, direction, onItemSelect, sideOffset, side, className, triggerClassname, align, alignOffset, }: {
816
- trigger?: any;
817
- items?: Item$3[];
818
- direction?: "rtl" | "ltr";
819
- onItemSelect?: any;
820
- className?: ExtendedDropdownMenuContentProps["className"];
821
- triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
822
- sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
823
- side?: ExtendedDropdownMenuContentProps["side"];
824
- align?: ExtendedDropdownMenuContentProps["align"];
825
- alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
826
- }) => React$1.JSX.Element;
827
-
828
- interface PopoverProps {
829
- side?: "top" | "right" | "bottom" | "left";
830
- align?: "start" | "center" | "end";
831
- trigger: React$1.ReactNode;
832
- children: React$1.ReactNode;
833
- className?: string;
834
- sideOffset?: number;
835
- }
836
- declare const Popover: React$1.FC<PopoverProps>;
837
-
838
- declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
839
- orientation?: "vertical" | "horizontal";
840
- } & React$1.RefAttributes<HTMLDivElement>>;
841
- declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
842
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
843
- declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
844
-
845
- interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
846
- label?: string;
847
- }
848
- declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
849
-
850
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
851
-
852
- declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
853
- declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
854
- declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: {
855
- variant?: "default" | "destructive";
856
- severity?: "none" | "info" | "warning" | "error" | "success";
857
- } & class_variance_authority_dist_types.ClassProp) => string> & {
858
- severity?: "info" | "warning" | "error" | "success" | "none";
859
- direction?: "rtl" | "ltr";
860
- } & React$1.RefAttributes<HTMLLIElement>>;
861
- declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
862
- declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
863
- declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
864
- declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
865
- type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
866
- type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
867
-
868
- declare function Toaster(props: any): React__default.JSX.Element;
869
-
870
- declare const Box: (props: any) => React__default.JSX.Element;
871
-
872
- type BottomAppBarTypes = {
873
- sx: any;
874
- color: any;
875
- appBarContent: any;
876
- };
877
- declare const HawaBottomAppBar: React__default.FunctionComponent<BottomAppBarTypes>;
878
-
879
- type HawaSiteLayoutTypes = {
880
- navItems: {
881
- label: string;
882
- icon: any;
883
- slug: string;
884
- action: () => void;
885
- subItems?: any;
886
- }[];
887
- direction?: "rtl" | "ltr";
888
- currentPage: string;
889
- pageTitle?: string;
890
- logoSymbol?: any;
891
- logoLink?: string;
892
- logoText?: any;
893
- children?: any;
894
- stickyNav?: boolean;
895
- topBar?: boolean;
896
- navigationSize?: "sm" | "md" | "lg";
897
- floating?: boolean;
898
- };
899
- declare const HawaSiteLayout: React__default.FunctionComponent<HawaSiteLayoutTypes>;
900
-
901
- type AppLayoutTypes = {
902
- /** The pages of the side drawer */
903
- drawerItems: Item$2[];
904
- direction?: "rtl" | "ltr";
905
- currentPage: string;
906
- pageTitle?: string;
907
- logoSymbol?: any;
908
- logoLink?: string;
909
- logoText?: any;
910
- children?: any;
911
- topBar?: boolean;
912
- username?: string;
913
- email?: string;
914
- drawerSize?: "sm" | "md" | "large";
915
- profileMenuItems?: ProfileItem[];
916
- onSettingsClick?: () => void;
917
- DrawerFooterActions?: any;
918
- clickedItem?: any;
919
- texts?: {
920
- expandSidebar?: string;
921
- collapseSidebar?: string;
922
- };
923
- };
924
- type Item$2 = {
925
- value: string;
926
- label: string;
927
- icon?: any;
928
- subitems?: SubItem$2[];
929
- onClick?: () => void;
930
- };
931
- type SubItem$2 = {
932
- value: string;
933
- label: string;
934
- icon?: any;
935
- onClick?: () => void;
936
- };
937
- type ProfileSubItem = {
938
- label: string;
939
- value: string;
940
- highlighted?: boolean;
941
- };
942
- type ProfileItem = {
943
- label: string;
944
- value: string;
945
- highlighted?: boolean;
946
- subitems?: ProfileSubItem[];
947
- };
948
- declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes>;
949
-
950
- type HawaAppLayoutTypes$1 = {
951
- drawerItems: {
952
- label: string;
953
- icon: any;
954
- slug: string;
955
- action: () => void;
956
- subItems?: any;
957
- }[][];
958
- direction?: "rtl" | "ltr";
959
- currentPage: string;
960
- pageTitle?: string;
961
- logoSymbol?: any;
962
- logoLink?: string;
963
- logoText?: any;
964
- children?: any;
965
- topBar?: boolean;
966
- username?: string;
967
- email?: string;
968
- drawerSize?: "sm" | "md" | "large";
969
- profileMenuItems?: MenuItems[][];
970
- onSettingsClick?: () => void;
971
- };
972
- type MenuItems = {
973
- icon?: JSX.Element;
974
- label: string;
975
- action?: (e: any) => void;
976
- isButton?: boolean;
977
- };
978
- declare const HawaAppLayout: React__default.FunctionComponent<HawaAppLayoutTypes$1>;
979
-
980
- type HawaAppLayoutTypes = {
981
- /** The pages of the side drawer */
982
- drawerItems: {
983
- label: string;
984
- icon: any;
985
- slug: string;
986
- action: () => void;
987
- subItems?: any;
988
- }[][];
989
- direction?: "rtl" | "ltr";
990
- currentPage: string;
991
- pageTitle?: string;
992
- logoSymbol?: any;
993
- logoLink?: string;
994
- logoText?: any;
995
- children?: any;
996
- topBar?: boolean;
997
- username?: string;
998
- email?: string;
999
- drawerSize?: "sm" | "md" | "large";
1000
- profileMenuItems?: Item$1[];
1001
- onSettingsClick?: () => void;
1002
- DrawerFooterActions?: any;
1003
- texts?: {
1004
- expandSidebar?: string;
1005
- collapseSidebar?: string;
1006
- };
1007
- };
1008
- type SubItem$1 = {
1009
- label: string;
1010
- value: string;
1011
- highlighted?: boolean;
1012
- };
1013
- type Item$1 = {
1014
- label: string;
1015
- value: string;
1016
- highlighted?: boolean;
1017
- subitems?: SubItem$1[];
1018
- };
1019
- declare const HawaAppLayoutSimplified: React__default.FunctionComponent<HawaAppLayoutTypes>;
1020
-
1021
- type ContainerTypes = {
1022
- maxWidth?: "full" | "small" | "normal";
1023
- children: React__default.ReactNode;
1024
- variant?: "contained" | "outlined" | "neobrutalism";
1025
- direction?: "rtl" | "ltr";
1026
- centered?: boolean;
1027
- };
1028
- declare const HawaContainer: React__default.FunctionComponent<ContainerTypes>;
1029
-
1030
- type GridTypes = {
1031
- children?: any;
1032
- };
1033
- declare const HawaGrid: FC<GridTypes>;
1034
-
1035
- interface Props {
1036
- isOpen: boolean;
1037
- onClose: () => void;
1038
- items: {
1039
- label: string;
1040
- onClick: () => void;
1041
- }[];
1042
- }
1043
- declare const AppSidebar: React__default.FC<Props>;
1044
-
1045
- type FooterTypes = {
1046
- logoText?: string;
1047
- logoURL?: string;
1048
- socialLinks?: {
1049
- twitter?: string;
1050
- instagram?: string;
1051
- tiktok?: string;
1052
- snapchat?: string;
1053
- };
1054
- footerLinks?: {
1055
- title: string;
1056
- pages: {
1057
- label: string;
1058
- link: string;
1059
- }[];
1060
- }[];
1061
- };
1062
- declare const Footer: React.FunctionComponent<FooterTypes>;
1063
-
1064
- type BannerTypes = {
1065
- showBanner?: boolean;
1066
- direction?: "rtl" | "ltr";
1067
- logoURL?: string;
1068
- title?: string;
1069
- text?: string;
1070
- actionText?: string;
1071
- onActionClick?: () => void;
1072
- position?: "top" | "bottom";
1073
- design: "default" | "floating";
1074
- };
1075
- declare const HawaBanner: FC<BannerTypes>;
1076
-
1077
- type Item = {
1078
- value: string;
1079
- label: string;
1080
- icon?: any;
1081
- subitems?: SubItem[];
1082
- onClick?: () => void;
1083
- };
1084
- type SubItem = {
1085
- value: string;
1086
- label: string;
1087
- icon?: any;
1088
- onClick?: () => void;
1089
- };
1090
- interface SidebarGroupProps {
1091
- title?: string;
1092
- items: Item[];
1093
- openedItem?: any;
1094
- setOpenedItem?: any;
1095
- selectedItem?: any;
1096
- isOpen?: boolean;
1097
- onItemClick?: (value: string[]) => void;
1098
- onSubItemClick?: (values: string[]) => void;
1099
- direction?: "rtl" | "ltr";
1100
- }
1101
- declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
1102
- declare const SidebarItem: React$1.FC<{
1103
- item: Item;
1104
- isSelected: any;
1105
- direction?: "rtl" | "ltr";
1106
- onItemClick?: (value: string[]) => void;
1107
- onSubItemClick?: (values: string[]) => void;
1108
- isOpen?: boolean;
1109
- }>;
1110
-
1111
- type UserProfileFormTypes = {
1112
- inputs: any;
1113
- texts: any;
1114
- handleUpdateProfile: any;
1115
- };
1116
- declare const UserProfileForm: FC<UserProfileFormTypes>;
1117
-
1118
- type UserSettingsFormTypes = {
1119
- children: any;
1120
- handleSaveSettings?: any;
1121
- saveSettingsText?: string;
1122
- blockTitle?: string;
1123
- };
1124
- declare const UserSettingsForm: FC<UserSettingsFormTypes>;
1125
-
1126
- type AppLandingTypes = {
1127
- handleSignIn: () => void;
1128
- handleSignUp: () => void;
1129
- handleLanguage: () => void;
1130
- handleColorMode: () => void;
1131
- texts: {
1132
- signIn: string;
1133
- signUp: string;
1134
- lang: string;
1135
- };
1136
- size: "small" | "normal" | "full";
1137
- };
1138
- declare const AppLanding: FC<AppLandingTypes>;
1139
-
1140
- type SignInPhoneTypes = {
1141
- value: any;
1142
- onSubmit: any;
1143
- country: any;
1144
- label: any;
1145
- handlePhoneChange: any;
1146
- phoneRequiredText: any;
1147
- SignInButtonText: any;
1148
- handleSignIn: any;
1149
- };
1150
- declare const SignInPhone: FC<SignInPhoneTypes>;
1151
-
1152
- declare const SignInForm: FC<SignInFormTypes>;
1153
- type SignInFormTypes = {
1154
- handleLanguage?: () => void;
1155
- currentLanguage?: any;
1156
- handleColorMode?: () => void;
1157
- currentColorMode?: any;
1158
- direction?: "rtl" | "ltr";
1159
- showError?: any;
1160
- errorTitle?: string;
1161
- errorText?: string;
1162
- signInType?: "email" | "username" | "phone";
1163
- texts?: {
1164
- emailLabel?: string;
1165
- emailPlaceholder?: string;
1166
- emailRequiredText?: string;
1167
- emailInvalidText?: string;
1168
- usernameLabel?: string;
1169
- usernamePlaceholder?: string;
1170
- usernameRequired?: string;
1171
- phoneRequiredText?: string;
1172
- passwordLabel?: string;
1173
- passwordPlaceholder?: string;
1174
- passwordRequiredText?: string;
1175
- forgotPasswordText?: string;
1176
- newUserText?: string;
1177
- createAccount?: string;
1178
- signInText?: string;
1179
- signInViaGoogleLabel?: string;
1180
- signInViaGithubLabel?: string;
1181
- signInViaTwitterLabel?: string;
1182
- };
1183
- withoutResetPassword?: boolean;
1184
- withoutSignUp?: boolean;
1185
- /**
1186
- *show spinner if true
1187
- */
1188
- isLoading?: any;
1189
- viaGoogle?: boolean;
1190
- viaGithub?: boolean;
1191
- viaTwitter?: boolean;
1192
- /**
1193
- * Handle the sign in .
1194
- */
1195
- handleSignIn?: (e: any) => void;
1196
- /**
1197
- * Handle routing to sign up page
1198
- */
1199
- handleRouteToSignUp?: () => void;
1200
- handleForgotPassword?: () => void;
1201
- handleGoogleSignIn?: () => void;
1202
- handleGithubSignIn?: () => void;
1203
- handleTwitterSignIn?: () => void;
1204
- };
1205
-
1206
- declare function SignInBlock(): React$1.JSX.Element;
1207
-
1208
- type SignUpFormTypes = {
1209
- direction?: "rtl" | "ltr";
1210
- texts: {
1211
- fullNameLabel: string;
1212
- fullNamePlaceholder: string;
1213
- fullNameRequiredText: string;
1214
- emailLabel: string;
1215
- emailPlaceholder: string;
1216
- emailRequiredText: string;
1217
- emailInvalidText: string;
1218
- usernameLabel: string;
1219
- usernamePlaceholder: string;
1220
- usernameRequired: string;
1221
- passwordLabel: string;
1222
- passwordPlaceholder: string;
1223
- passwordRequiredText: string;
1224
- passwordTooShortText: string;
1225
- confirmPasswordLabel: string;
1226
- confirmPasswordPlaceholder: string;
1227
- subscribeToNewsletter: string;
1228
- forgotPasswordText: string;
1229
- termsText: string;
1230
- iAcceptText: string;
1231
- termsRequiredText: string;
1232
- newUserText: string;
1233
- signUpText: string;
1234
- signInText: string;
1235
- existingUserText: string;
1236
- signUpViaGoogleLabel: string;
1237
- signUpViaGithubLabel: string;
1238
- signUpViaTwitterLabel: string;
1239
- refCode: string;
1240
- };
1241
- showUserSource: any;
1242
- viaGoogle: boolean;
1243
- viaGithub: boolean;
1244
- viaTwitter: boolean;
1245
- showNewsletterOption: boolean;
1246
- showRefCode: boolean;
1247
- showTermsOption: boolean;
1248
- handleSignUp: (e: any) => void;
1249
- handleRouteToSignIn: () => void;
1250
- handleGoogleSignUp: () => void;
1251
- handleGithubSignUp: () => void;
1252
- handleTwitterSignUp: () => void;
1253
- handleRouteToTOS: () => void;
1254
- showError: any;
1255
- errorTitle: any;
1256
- errorText: any;
1257
- signUpFields: any[];
1258
- isLoading?: boolean;
1259
- };
1260
- declare const SignUpForm: FC<SignUpFormTypes>;
1261
-
1262
- type NewPasswordTypes = {
1263
- handleNewPassword: () => void;
1264
- passwordChanged: any;
1265
- texts: {
1266
- passwordPlaceholder: string;
1267
- updatePassword: string;
1268
- passwordRequiredText: string;
1269
- passwordLabel: string;
1270
- confirmPasswordPlaceholder: string;
1271
- confirmPasswordLabel: string;
1272
- confirmPasswordRequiredText: string;
1273
- passwordMatchError: string;
1274
- passwordChanged: string;
1275
- };
1276
- };
1277
- declare const NewPasswordForm: FC<NewPasswordTypes>;
1278
-
1279
- type ResetPasswordType = {
1280
- handleResetPassword: () => void;
1281
- handleRouteToSignUp: () => void;
1282
- sent: any;
1283
- texts: {
1284
- emailLabel: string;
1285
- emailPlaceholder: string;
1286
- emailRequiredText: string;
1287
- emailInvalidText: string;
1288
- emailSentText: string;
1289
- resetPassword: string;
1290
- signUpText: string;
1291
- dontHaveAccount: string;
1292
- };
1293
- };
1294
- declare const ResetPasswordForm: FC<ResetPasswordType>;
1295
-
1296
- type TConfirmation = {
1297
- showError?: any;
1298
- errorTitle?: any;
1299
- errorText?: any;
1300
- texts?: {
1301
- checkYourPhone: string;
1302
- weSentCode: string;
1303
- didntGetCode: string;
1304
- resendCode: string;
1305
- codeLabel: string;
1306
- codePlaceholder: string;
1307
- codeRequiredText: string;
1308
- confirm: string;
1309
- cancel: string;
1310
- };
1311
- phoneNumber?: string;
1312
- submitConfirmation?: any;
1313
- handleSignIn?: any;
1314
- };
1315
- declare const CodeConfirmation: FC<TConfirmation>;
1316
-
1317
- type SelectPaymentTypes = {
1318
- viaMada: boolean;
1319
- viaWallet: boolean;
1320
- viaSTCPay: boolean;
1321
- viaPayPal: boolean;
1322
- viaApplePay: boolean;
1323
- viaCreditCard: boolean;
1324
- viaGooglePay: boolean;
1325
- madaLabel: string;
1326
- stcPayLabel: string;
1327
- paypalLabel: string;
1328
- walletLabel: string;
1329
- applePayLabel: string;
1330
- visaMasterLabel: string;
1331
- googlePayLabel: string;
1332
- handleMada: any;
1333
- handleWallet: any;
1334
- handleSTCPay: any;
1335
- handlePayPal: any;
1336
- handleApplePay: any;
1337
- handleCreditCard: any;
1338
- handleGooglePay: any;
1339
- };
1340
- declare const SelectPayment: FC<SelectPaymentTypes>;
1341
-
1342
- type CreditCardFormTypes = {
1343
- handle: any;
1344
- handlePayWithCreditCard: any;
1345
- };
1346
- declare const CreditCardForm: FC<CreditCardFormTypes>;
1347
-
1348
- type ChargeWalletTypes = {
1349
- currency: any;
1350
- handleChargeWallet: any;
1351
- texts: {
1352
- amountLabel: string;
1353
- amountRequired: string;
1354
- chargeWallet: string;
1355
- };
1356
- };
1357
- declare const ChargeWalletForm: FC<ChargeWalletTypes>;
1358
-
1359
- type PayWithWalletTypes = {
1360
- walletBalance: any;
1361
- currency: any;
1362
- handlePayWithWallet: any;
1363
- };
1364
- declare const PayWithWallet: FC<PayWithWalletTypes>;
1365
-
1366
- type CheckoutFormTypes = {
1367
- lang: string;
1368
- products: any;
1369
- total: any;
1370
- handlePayNow: any;
1371
- countriesList: any;
1372
- texts: {
1373
- orderDetails: string;
1374
- billingAddress: string;
1375
- payNow: string;
1376
- emailLabel: string;
1377
- emailRequiredText: string;
1378
- emailInvalidText: string;
1379
- firstNameLabel: string;
1380
- required: string;
1381
- lastNameLabel: string;
1382
- streetAddressLabel: string;
1383
- buildingNumberLabel: string;
1384
- cityLabel: string;
1385
- stateLabel: string;
1386
- countryLabel: string;
1387
- zipCodeLabel: string;
1388
- };
1389
- };
1390
- declare const CheckoutForm: FC<CheckoutFormTypes>;
1391
-
1392
- type ConfirmationPageTypes = {
1393
- texts: {
1394
- print: string;
1395
- history: string;
1396
- homePage: string;
1397
- successMessage: string;
1398
- orderDetails: string;
1399
- fasterPaymentNote: string;
1400
- yourOrderNumber: string;
1401
- emailLabel: string;
1402
- emailRequiredText: string;
1403
- emailInvalidText: string;
1404
- firstNameLabel: string;
1405
- required: string;
1406
- lastNameLabel: string;
1407
- streetAddressLabel: string;
1408
- buildingNumberLabel: string;
1409
- cityLabel: string;
1410
- stateLabel: string;
1411
- countryLabel: string;
1412
- zipCodeLabel: string;
1413
- refundPolicy: string;
1414
- };
1415
- products: any;
1416
- countriesList: any;
1417
- lang: string;
1418
- total: string;
1419
- userEmail: string;
1420
- orderNumber: string;
1421
- confirmationTitle: string;
1422
- handleHome: any;
1423
- handlePrint: any;
1424
- handleHistory: any;
1425
- handleRefundPolicyLink: any;
1426
- };
1427
- declare const ConfirmationPage: FC<ConfirmationPageTypes>;
1428
-
1429
- type PricingPlansTypes = {
1430
- plans: [
1431
- {
1432
- direction: "rtl" | "ltr";
1433
- features: [{
1434
- included: boolean;
1435
- text: string;
1436
- }];
1437
- price: number;
1438
- texts: {
1439
- title: string;
1440
- subtitle: string;
1441
- buttonText: string;
1442
- cycleText: string;
1443
- currencyText: string;
1444
- };
1445
- size: "small" | "medium" | "large";
1446
- }
1447
- ];
1448
- currencies: [
1449
- {
1450
- label: string;
1451
- value: string;
1452
- }
1453
- ];
1454
- billingCycles: [
1455
- {
1456
- label: string;
1457
- value: string;
1458
- }
1459
- ];
1460
- onPlanClicked?: (e: any) => void;
1461
- currentCycle: {
1462
- label: string;
1463
- value: string;
1464
- };
1465
- currentCurrency: {
1466
- label: string;
1467
- value: string;
1468
- };
1469
- onCycleChange?: (e: any) => void;
1470
- onCurrencyChange?: (e: any) => void;
1471
- direction?: "rtl" | "ltr";
1472
- };
1473
- declare const PricingPlans: FC<PricingPlansTypes>;
1474
-
1475
- type ComparingPlansTypes = {
1476
- plans: [
1477
- {
1478
- direction: "rtl" | "ltr";
1479
- features: [{
1480
- included: boolean;
1481
- text: string;
1482
- description?: string;
1483
- }];
1484
- price: number;
1485
- texts: {
1486
- title: string;
1487
- subtitle: string;
1488
- buttonText: string;
1489
- cycleText: string;
1490
- currencyText: string;
1491
- };
1492
- size: "small" | "medium" | "large";
1493
- }
1494
- ];
1495
- currencies: [
1496
- {
1497
- label: string;
1498
- value: string;
1499
- }
1500
- ];
1501
- billingCycles: [
1502
- {
1503
- label: string;
1504
- value: string;
1505
- }
1506
- ];
1507
- onCycleChange?: (e: any) => void;
1508
- onCurrencyChange?: (e: any) => void;
1509
- direction?: "rtl" | "ltr";
1510
- };
1511
- declare const ComparingPlans: FC<ComparingPlansTypes>;
1512
-
1513
- type HorizontalPricingTypes = {
1514
- plans: [
1515
- {
1516
- direction: "rtl" | "ltr";
1517
- features: [{
1518
- included: boolean;
1519
- text: string;
1520
- }];
1521
- price: number;
1522
- texts: {
1523
- title: string;
1524
- subtitle: string;
1525
- buttonText: string;
1526
- cycleText: string;
1527
- currencyText: string;
1528
- };
1529
- size: "small" | "medium" | "large";
1530
- }
1531
- ];
1532
- currencies: [
1533
- {
1534
- label: string;
1535
- value: string;
1536
- }
1537
- ];
1538
- billingCycles: [
1539
- {
1540
- label: string;
1541
- value: string;
1542
- }
1543
- ];
1544
- onPlanClicked?: (e: any) => void;
1545
- currentCycle: {
1546
- label: string;
1547
- value: string;
1548
- };
1549
- currentCurrency: {
1550
- label: string;
1551
- value: string;
1552
- };
1553
- onCycleChange?: (e: any) => void;
1554
- onCurrencyChange?: (e: any) => void;
1555
- direction?: "rtl" | "ltr";
1556
- };
1557
- declare const HorizontalPricing: FC<HorizontalPricingTypes>;
1558
-
1559
- type ReferralAccount = {
1560
- referralLink: string;
1561
- referralCode: string;
1562
- };
1563
- declare const ReferralAccount: FC<ReferralAccount>;
1564
-
1565
- type TReferralSettlement = {
1566
- referralLink: string;
1567
- referralCode: string;
1568
- withdrawError?: string;
1569
- };
1570
- declare const ReferralSettlement: FC<TReferralSettlement>;
1571
-
1572
- type TReferralStats = {
1573
- referralLink: string;
1574
- referralCode: string;
1575
- withdrawError?: string;
1576
- };
1577
- declare const ReferralStats: FC<TReferralStats>;
1578
-
1579
- type NotFoundTypes = {
1580
- variant?: "outlined" | "contained" | "neobrutalism";
1581
- texts?: {
1582
- pageNotFound?: string;
1583
- ifLost?: string;
1584
- home?: string;
1585
- };
1586
- };
1587
- declare const NotFound: FC<NotFoundTypes>;
1588
-
1589
- type TEmptyState$1 = {
1590
- variant?: "outlined" | "contained" | "neobrutalism";
1591
- onActionClick: () => void;
1592
- texts: {
1593
- youreCaughtUp?: string;
1594
- actionText?: string;
1595
- };
1596
- };
1597
- declare const EmptyState: FC<TEmptyState$1>;
1598
-
1599
- type TEmptyState = {
1600
- variant?: "outlined" | "contained" | "neobrutalism";
1601
- };
1602
- declare const Testimonial: FC<TEmptyState>;
1603
-
1604
- type TLeadGenerator = {
1605
- variant?: "outlined" | "contained" | "neobrutalism";
1606
- texts: {
1607
- title: string;
1608
- subtitle: string;
1609
- submit: string;
1610
- };
1611
- handleNewsletterSub: (e: string) => void;
1612
- };
1613
- declare const LeadGenerator: FC<TLeadGenerator>;
1614
-
1615
- type TNoPermission = {
1616
- variant?: "outlined" | "contained" | "neobrutalism";
1617
- texts?: {
1618
- title: string;
1619
- subtitle: string;
1620
- };
1621
- };
1622
- declare const NoPermission: FC<TNoPermission>;
1623
-
1624
- type ToasterToast = ToastProps & {
1625
- id: string;
1626
- title?: React$1.ReactNode;
1627
- description?: React$1.ReactNode;
1628
- severity?: "info" | "warning" | "error" | "success" | "none";
1629
- action?: ToastActionElement;
1630
- };
1631
- declare const actionTypes: {
1632
- readonly ADD_TOAST: "ADD_TOAST";
1633
- readonly UPDATE_TOAST: "UPDATE_TOAST";
1634
- readonly DISMISS_TOAST: "DISMISS_TOAST";
1635
- readonly REMOVE_TOAST: "REMOVE_TOAST";
1636
- };
1637
- type ActionType = typeof actionTypes;
1638
- type Action = {
1639
- type: ActionType["ADD_TOAST"];
1640
- toast: ToasterToast;
1641
- } | {
1642
- type: ActionType["UPDATE_TOAST"];
1643
- toast: Partial<ToasterToast>;
1644
- } | {
1645
- type: ActionType["DISMISS_TOAST"];
1646
- toastId?: ToasterToast["id"];
1647
- } | {
1648
- type: ActionType["REMOVE_TOAST"];
1649
- toastId?: ToasterToast["id"];
1650
- };
1651
- interface State {
1652
- toasts: ToasterToast[];
1653
- }
1654
- declare const reducer: (state: State, action: Action) => State;
1655
- type Toast = Omit<ToasterToast, "id">;
1656
- declare function toast({ ...props }: Toast): {
1657
- id: string;
1658
- dismiss: () => void;
1659
- update: (props: ToasterToast) => void;
1660
- };
1661
- declare function useToast(): {
1662
- toast: typeof toast;
1663
- dismiss: (toastId?: string) => void;
1664
- toasts: ToasterToast[];
1665
- };
13
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
1666
14
 
1667
- export { AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaLogoButton, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaSnackbar, HawaStats, HawaStepper, HawaStoreButtons, HawaSwitch, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubsectionList, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
15
+ export { Button, ButtonProps, buttonVariants };