@fluidattacks/design 3.1.4 → 3.1.6
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/button.mjs +5 -0
- package/index-i8Ii0UcD.mjs +2062 -0
- package/index.mjs +20398 -0
- package/package.json +16 -2
- package/types/components/@core/constants.d.ts +2 -0
- package/types/components/@core/index.d.ts +5 -0
- package/types/components/@core/styles.d.ts +6 -0
- package/types/components/@core/types.d.ts +181 -0
- package/types/components/@core/utils.d.ts +11 -0
- package/types/components/@core/variants/utils.d.ts +59 -0
- package/types/components/accordion/accordion-content/index.d.ts +3 -0
- package/types/components/accordion/index.d.ts +4 -0
- package/types/components/accordion/types.d.ts +36 -0
- package/types/components/alert/index.d.ts +4 -0
- package/types/components/alert/styles.d.ts +9 -0
- package/types/components/alert/types.d.ts +23 -0
- package/types/components/button/index.d.ts +4 -0
- package/types/components/button/styles.d.ts +9 -0
- package/types/components/button/types.d.ts +30 -0
- package/types/components/card/card-header/index.d.ts +3 -0
- package/types/components/card/card-with-image/index.d.ts +4 -0
- package/types/components/card/card-with-input/index.d.ts +3 -0
- package/types/components/card/card-with-input/styles.d.ts +8 -0
- package/types/components/card/card-with-selector/index.d.ts +3 -0
- package/types/components/card/card-with-switch/index.d.ts +3 -0
- package/types/components/card/index.d.ts +6 -0
- package/types/components/card/types.d.ts +121 -0
- package/types/components/carousel/index.d.ts +4 -0
- package/types/components/carousel/styles.d.ts +10 -0
- package/types/components/carousel/types.d.ts +19 -0
- package/types/components/checkbox/index.d.ts +3 -0
- package/types/components/checkbox/styles.d.ts +2 -0
- package/types/components/checkbox/types.d.ts +17 -0
- package/types/components/cloud-image/index.d.ts +5 -0
- package/types/components/cloud-image/types.d.ts +18 -0
- package/types/components/code-snippet/index.d.ts +3 -0
- package/types/components/code-snippet/location-code/index.d.ts +5 -0
- package/types/components/code-snippet/styles.d.ts +3 -0
- package/types/components/code-snippet/types.d.ts +22 -0
- package/types/components/colors/index.d.ts +10 -0
- package/types/components/confirm-dialog/index.d.ts +11 -0
- package/types/components/confirm-dialog/types.d.ts +13 -0
- package/types/components/container/index.d.ts +4 -0
- package/types/components/container/styles.d.ts +9 -0
- package/types/components/container/types.d.ts +22 -0
- package/types/components/content-card/category-tag/index.d.ts +5 -0
- package/types/components/content-card/event-date/index.d.ts +4 -0
- package/types/components/content-card/index.d.ts +3 -0
- package/types/components/content-card/styles.d.ts +2 -0
- package/types/components/content-card/types.d.ts +33 -0
- package/types/components/content-card-carousel/index.d.ts +3 -0
- package/types/components/content-card-carousel/scroll-buttons/index.d.ts +6 -0
- package/types/components/content-card-carousel/styles.d.ts +3 -0
- package/types/components/content-card-carousel/types.d.ts +16 -0
- package/types/components/divider/index.d.ts +3 -0
- package/types/components/divider/types.d.ts +11 -0
- package/types/components/empty-state/empty-button/index.d.ts +8 -0
- package/types/components/empty-state/index.d.ts +3 -0
- package/types/components/empty-state/styles.d.ts +8 -0
- package/types/components/empty-state/types.d.ts +35 -0
- package/types/components/file-preview/index.d.ts +3 -0
- package/types/components/file-preview/styles.d.ts +6 -0
- package/types/components/file-preview/types.d.ts +20 -0
- package/types/components/file-preview/utils.d.ts +5 -0
- package/types/components/form/index.d.ts +4 -0
- package/types/components/form/styles.d.ts +2 -0
- package/types/components/form/types.d.ts +21 -0
- package/types/components/grid-container/index.d.ts +4 -0
- package/types/components/grid-container/styles.d.ts +12 -0
- package/types/components/grid-container/types.d.ts +17 -0
- package/types/components/grid-layout/styles.d.ts +12 -0
- package/types/components/group-selector/index.d.ts +3 -0
- package/types/components/group-selector/option-container/index.d.ts +4 -0
- package/types/components/group-selector/styles.d.ts +7 -0
- package/types/components/group-selector/types.d.ts +44 -0
- package/types/components/icon/index.d.ts +3 -0
- package/types/components/icon/styles.d.ts +15 -0
- package/types/components/icon/types.d.ts +35 -0
- package/types/components/icon-button/index.d.ts +3 -0
- package/types/components/icon-button/styles.d.ts +9 -0
- package/types/components/icon-button/types.d.ts +22 -0
- package/types/components/indicator-card/index.d.ts +5 -0
- package/types/components/indicator-card/types.d.ts +30 -0
- package/types/components/info-sidebar/index.d.ts +4 -0
- package/types/components/info-sidebar/types.d.ts +32 -0
- package/types/components/inputs/fields/combobox/index.d.ts +4 -0
- package/types/components/inputs/fields/combobox/option/index.d.ts +3 -0
- package/types/components/inputs/fields/combobox/styles.d.ts +3 -0
- package/types/components/inputs/fields/combobox/types.d.ts +40 -0
- package/types/components/inputs/fields/date/calendar/cell/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/grid/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/header/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/index.d.ts +6 -0
- package/types/components/inputs/fields/date/calendar/styles.d.ts +13 -0
- package/types/components/inputs/fields/date/index.d.ts +3 -0
- package/types/components/inputs/fields/date/types.d.ts +32 -0
- package/types/components/inputs/fields/date-range/calendar/index.d.ts +6 -0
- package/types/components/inputs/fields/date-range/index.d.ts +4 -0
- package/types/components/inputs/fields/date-range/styles.d.ts +5 -0
- package/types/components/inputs/fields/date-time/calendar/index.d.ts +9 -0
- package/types/components/inputs/fields/date-time/calendar/styles.d.ts +3 -0
- package/types/components/inputs/fields/date-time/index.d.ts +4 -0
- package/types/components/inputs/fields/editable/index.d.ts +5 -0
- package/types/components/inputs/fields/editable/types.d.ts +19 -0
- package/types/components/inputs/fields/input/index.d.ts +3 -0
- package/types/components/inputs/fields/input-file/index.d.ts +3 -0
- package/types/components/inputs/fields/input-file/styles.d.ts +6 -0
- package/types/components/inputs/fields/input-tags/index.d.ts +3 -0
- package/types/components/inputs/fields/input-tags/styles.d.ts +2 -0
- package/types/components/inputs/fields/number/index.d.ts +3 -0
- package/types/components/inputs/fields/number-range/index.d.ts +3 -0
- package/types/components/inputs/fields/phone/index.d.ts +3 -0
- package/types/components/inputs/fields/phone/styles.d.ts +6 -0
- package/types/components/inputs/fields/text-area/index.d.ts +3 -0
- package/types/components/inputs/index.d.ts +14 -0
- package/types/components/inputs/label/index.d.ts +3 -0
- package/types/components/inputs/outline-container/index.d.ts +4 -0
- package/types/components/inputs/styles.d.ts +3 -0
- package/types/components/inputs/types.d.ts +108 -0
- package/types/components/inputs/utils/action-button/index.d.ts +3 -0
- package/types/components/inputs/utils/calendar-button/index.d.ts +8 -0
- package/types/components/inputs/utils/date-selector/index.d.ts +3 -0
- package/types/components/inputs/utils/date-time-field/index.d.ts +4 -0
- package/types/components/inputs/utils/dialog/index.d.ts +4 -0
- package/types/components/inputs/utils/number-field/index.d.ts +6 -0
- package/types/components/inputs/utils/popover/index.d.ts +4 -0
- package/types/components/inputs/utils/styles.d.ts +17 -0
- package/types/components/inputs/utils/types.d.ts +77 -0
- package/types/components/inputs/utils.d.ts +3 -0
- package/types/components/interactive-card/icon/index.d.ts +5 -0
- package/types/components/interactive-card/index.d.ts +3 -0
- package/types/components/interactive-card/styles.d.ts +3 -0
- package/types/components/interactive-card/types.d.ts +20 -0
- package/types/components/language-selector/index.d.ts +3 -0
- package/types/components/language-selector/item-list/index.d.ts +3 -0
- package/types/components/language-selector/styles.d.ts +5 -0
- package/types/components/language-selector/types.d.ts +37 -0
- package/types/components/link/index.d.ts +5 -0
- package/types/components/link/styles.d.ts +8 -0
- package/types/components/link/types.d.ts +22 -0
- package/types/components/list-item/index.d.ts +4 -0
- package/types/components/list-item/styles.d.ts +3 -0
- package/types/components/list-item/types.d.ts +28 -0
- package/types/components/little-flag/index.d.ts +4 -0
- package/types/components/little-flag/styles.d.ts +6 -0
- package/types/components/little-flag/types.d.ts +15 -0
- package/types/components/loading/index.d.ts +4 -0
- package/types/components/loading/styles.d.ts +9 -0
- package/types/components/loading/types.d.ts +15 -0
- package/types/components/logo/index.d.ts +3 -0
- package/types/components/logo/types.d.ts +12 -0
- package/types/components/logo-carousel/index.d.ts +3 -0
- package/types/components/logo-carousel/styles.d.ts +4 -0
- package/types/components/logo-carousel/types.d.ts +11 -0
- package/types/components/logo-carousel/utils.d.ts +2 -0
- package/types/components/lottie/index.d.ts +3 -0
- package/types/components/lottie/styles.d.ts +41 -0
- package/types/components/lottie/types.d.ts +11 -0
- package/types/components/menu/index.d.ts +4 -0
- package/types/components/menu/types.d.ts +31 -0
- package/types/components/message-banner/index.d.ts +3 -0
- package/types/components/message-banner/styles.d.ts +2 -0
- package/types/components/message-banner/types.d.ts +26 -0
- package/types/components/message-banner/utils.d.ts +7 -0
- package/types/components/modal/index.d.ts +5 -0
- package/types/components/modal/modal-confirm/index.d.ts +3 -0
- package/types/components/modal/modal-footer/index.d.ts +3 -0
- package/types/components/modal/modal-header/index.d.ts +3 -0
- package/types/components/modal/styles.d.ts +16 -0
- package/types/components/modal/types.d.ts +87 -0
- package/types/components/notification/index.d.ts +3 -0
- package/types/components/notification/styles.d.ts +7 -0
- package/types/components/notification/types.d.ts +16 -0
- package/types/components/notification/utils.d.ts +4 -0
- package/types/components/notification-sign/index.d.ts +3 -0
- package/types/components/notification-sign/styles.d.ts +9 -0
- package/types/components/notification-sign/types.d.ts +16 -0
- package/types/components/number-input/index.d.ts +5 -0
- package/types/components/number-input/styles.d.ts +3 -0
- package/types/components/number-input/types.d.ts +17 -0
- package/types/components/oauth-selector/index.d.ts +5 -0
- package/types/components/oauth-selector/option-container/index.d.ts +3 -0
- package/types/components/oauth-selector/types.d.ts +45 -0
- package/types/components/plan-card/index.d.ts +3 -0
- package/types/components/plan-card/recommended-tag/index.d.ts +2 -0
- package/types/components/plan-card/styles.d.ts +3 -0
- package/types/components/plan-card/types.d.ts +47 -0
- package/types/components/plan-card/utils.d.ts +5 -0
- package/types/components/pop-up/description/index.d.ts +5 -0
- package/types/components/pop-up/index.d.ts +4 -0
- package/types/components/pop-up/types.d.ts +58 -0
- package/types/components/premium-feature/index.d.ts +3 -0
- package/types/components/premium-feature/styles.d.ts +2 -0
- package/types/components/premium-feature/types.d.ts +14 -0
- package/types/components/priority-score/index.d.ts +3 -0
- package/types/components/priority-score/types.d.ts +9 -0
- package/types/components/progress/index.d.ts +4 -0
- package/types/components/progress/styles.d.ts +6 -0
- package/types/components/progress/types.d.ts +12 -0
- package/types/components/progress/utils.d.ts +2 -0
- package/types/components/progress-bar/index.d.ts +3 -0
- package/types/components/progress-bar/styles.d.ts +13 -0
- package/types/components/progress-bar/types.d.ts +24 -0
- package/types/components/radio-button/index.d.ts +3 -0
- package/types/components/radio-button/styles.d.ts +5 -0
- package/types/components/radio-button/types.d.ts +14 -0
- package/types/components/scroll-button/index.d.ts +4 -0
- package/types/components/scroll-button/styles.d.ts +4 -0
- package/types/components/scroll-button/types.d.ts +11 -0
- package/types/components/search/index.d.ts +3 -0
- package/types/components/search/styles.d.ts +4 -0
- package/types/components/search/types.d.ts +10 -0
- package/types/components/search-bar/index.d.ts +3 -0
- package/types/components/search-bar/item-searching/index.d.ts +3 -0
- package/types/components/search-bar/styles.d.ts +15 -0
- package/types/components/search-bar/types.d.ts +29 -0
- package/types/components/search-bar/utils.d.ts +4 -0
- package/types/components/severity-badge/index.d.ts +3 -0
- package/types/components/severity-badge/types.d.ts +26 -0
- package/types/components/severity-badge/utils.d.ts +3 -0
- package/types/components/severity-overview/badge/index.d.ts +3 -0
- package/types/components/severity-overview/index.d.ts +3 -0
- package/types/components/severity-overview/types.d.ts +40 -0
- package/types/components/severity-overview/utils.d.ts +3 -0
- package/types/components/show-on-hover/index.d.ts +3 -0
- package/types/components/show-on-hover/styles.d.ts +2 -0
- package/types/components/show-on-hover/types.d.ts +12 -0
- package/types/components/slide-out-menu/index.d.ts +4 -0
- package/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
- package/types/components/slide-out-menu/styles.d.ts +2 -0
- package/types/components/slide-out-menu/types.d.ts +43 -0
- package/types/components/slider/index.d.ts +3 -0
- package/types/components/slider/styles.d.ts +7 -0
- package/types/components/slider/thumb/index.d.ts +3 -0
- package/types/components/slider/types.d.ts +13 -0
- package/types/components/slider/utils.d.ts +2 -0
- package/types/components/step-lapse/index.d.ts +3 -0
- package/types/components/step-lapse/styles.d.ts +8 -0
- package/types/components/step-lapse/types.d.ts +44 -0
- package/types/components/table-button/index.d.ts +3 -0
- package/types/components/table-button/styles.d.ts +2 -0
- package/types/components/table-button/types.d.ts +16 -0
- package/types/components/tabs/fixed-tabs/index.d.ts +3 -0
- package/types/components/tabs/index.d.ts +5 -0
- package/types/components/tabs/styles.d.ts +4 -0
- package/types/components/tabs/tab/index.d.ts +4 -0
- package/types/components/tabs/types.d.ts +48 -0
- package/types/components/tag/index.d.ts +4 -0
- package/types/components/tag/styles.d.ts +7 -0
- package/types/components/tag/types.d.ts +32 -0
- package/types/components/timeline/card/index.d.ts +3 -0
- package/types/components/timeline/index.d.ts +4 -0
- package/types/components/timeline/styles.d.ts +3 -0
- package/types/components/timeline/types.d.ts +21 -0
- package/types/components/toggle/index.d.ts +4 -0
- package/types/components/toggle/styles.d.ts +4 -0
- package/types/components/toggle/types.d.ts +28 -0
- package/types/components/toggle-buttons/index.d.ts +3 -0
- package/types/components/toggle-buttons/styles.d.ts +3 -0
- package/types/components/toggle-buttons/types.d.ts +13 -0
- package/types/components/tooltip/index.d.ts +4 -0
- package/types/components/tooltip/styles.d.ts +7 -0
- package/types/components/tooltip/types.d.ts +29 -0
- package/types/components/tour/index.d.ts +6 -0
- package/types/components/tour/types.d.ts +14 -0
- package/types/components/typography/heading/index.d.ts +3 -0
- package/types/components/typography/index.d.ts +4 -0
- package/types/components/typography/span/index.d.ts +3 -0
- package/types/components/typography/styles.d.ts +26 -0
- package/types/components/typography/text/index.d.ts +3 -0
- package/types/components/typography/types.d.ts +27 -0
- package/types/components/web-form/index.d.ts +5 -0
- package/types/components/web-form/styles.d.ts +4 -0
- package/types/components/web-form/types.d.ts +15 -0
- package/types/hooks/index.d.ts +8 -0
- package/types/hooks/use-carousel.d.ts +6 -0
- package/types/hooks/use-click-outside.d.ts +2 -0
- package/types/hooks/use-cloudinary-image.d.ts +13 -0
- package/types/hooks/use-debounced-callback.d.ts +4 -0
- package/types/hooks/use-modal.d.ts +11 -0
- package/types/hooks/use-search.d.ts +5 -0
- package/types/index.d.ts +67 -0
- package/types/utils/date.d.ts +3 -0
- package/types/utils/open-url.d.ts +1 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { IUseModal } from "hooks";
|
|
2
|
+
type TSize = "lg" | "md" | "sm";
|
|
3
|
+
/**
|
|
4
|
+
* Button props.
|
|
5
|
+
* @interface IButtonProps
|
|
6
|
+
* @property { string } text - The text of the button.
|
|
7
|
+
* @property { Function } [onClick] - The function to call when the button is clicked.
|
|
8
|
+
*/
|
|
9
|
+
interface IButtonProps {
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Modal content props.
|
|
15
|
+
* @interface IModalContent
|
|
16
|
+
* @property { string } [imageSrc] - The source of the image.
|
|
17
|
+
* @property { boolean } [imageFramed] - Whether the image is framed.
|
|
18
|
+
* @property { string } [imageText] - The text of the image.
|
|
19
|
+
*/
|
|
20
|
+
interface IModalContent {
|
|
21
|
+
imageSrc?: string;
|
|
22
|
+
imageFramed?: boolean;
|
|
23
|
+
imageText?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Modal header component props.
|
|
27
|
+
* @interface IModalHeaderProps
|
|
28
|
+
* @property { React.ReactNode | string } [description] - The description of the modal.
|
|
29
|
+
* @property { IUseModal } [modalRef] - The modal reference.
|
|
30
|
+
* @property { React.ReactNode } [otherActions] - The other actions of the modal.
|
|
31
|
+
* @property { Function } [onClose] - The function to call when the modal is closed.
|
|
32
|
+
* @property { React.ReactNode | string } [title] - The title of the modal.
|
|
33
|
+
*/
|
|
34
|
+
interface IModalHeaderProps {
|
|
35
|
+
description?: React.ReactNode | string;
|
|
36
|
+
modalRef: IModalProps["modalRef"];
|
|
37
|
+
otherActions?: React.ReactNode;
|
|
38
|
+
onClose?: () => void;
|
|
39
|
+
title: React.ReactNode | string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Modal footer component props.
|
|
43
|
+
* @interface IModalFooterProps
|
|
44
|
+
* @property { IButtonProps } [cancelButton] - The cancel button props.
|
|
45
|
+
* @property { IButtonProps } [confirmButton] - The confirm button props.
|
|
46
|
+
* @property { IUseModal } [modalRef] - The modal reference.
|
|
47
|
+
*/
|
|
48
|
+
interface IModalFooterProps {
|
|
49
|
+
cancelButton?: IButtonProps;
|
|
50
|
+
confirmButton?: IButtonProps;
|
|
51
|
+
modalRef: IUseModal;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Modal component props.
|
|
55
|
+
* @interface IModalProps
|
|
56
|
+
* @extends IModalHeaderProps
|
|
57
|
+
* @extends IModalFooterProps
|
|
58
|
+
* @property { boolean } [portal] - Whether the modal is a portal.
|
|
59
|
+
* @property { IModalContent } [content] - The modal content.
|
|
60
|
+
* @property { string } [id] - The id of the modal.
|
|
61
|
+
* @property { TSize } [size] - The size of the modal.
|
|
62
|
+
*/
|
|
63
|
+
interface IModalProps extends Omit<IModalHeaderProps, "modalRef">, IModalFooterProps {
|
|
64
|
+
_portal?: boolean;
|
|
65
|
+
content?: IModalContent;
|
|
66
|
+
id?: string;
|
|
67
|
+
size: TSize;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Modal confirm props.
|
|
71
|
+
* @interface IModalConfirmProps
|
|
72
|
+
* @property { boolean } [disabled] - Whether the confirm button is disabled.
|
|
73
|
+
* @property { string } [id] - The id of the confirm button.
|
|
74
|
+
* @property { Function } [onCancel] - The function to call when the cancel button is clicked.
|
|
75
|
+
* @property { "submit" | Function } [onConfirm] - The function to call when the confirm button is clicked.
|
|
76
|
+
* @property { string } [txtCancel] - The text of the cancel button.
|
|
77
|
+
* @property { React.ReactNode | string } [txtConfirm] - The text of the confirm button.
|
|
78
|
+
*/
|
|
79
|
+
interface IModalConfirmProps {
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
id?: string;
|
|
82
|
+
onCancel?: () => void;
|
|
83
|
+
onConfirm?: "submit" | (() => void);
|
|
84
|
+
txtCancel?: string;
|
|
85
|
+
txtConfirm?: React.ReactNode | string;
|
|
86
|
+
}
|
|
87
|
+
export type { IModalProps, IModalContent, IModalConfirmProps, IModalFooterProps, IModalHeaderProps, TSize, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TNotificationVariant } from "./types";
|
|
2
|
+
interface IAlertAndNotifyBoxProps {
|
|
3
|
+
$variant: TNotificationVariant;
|
|
4
|
+
}
|
|
5
|
+
declare const NotificationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IAlertAndNotifyBoxProps>> & string;
|
|
6
|
+
declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IAlertAndNotifyBoxProps>> & string;
|
|
7
|
+
export { IconsContainer, NotificationContainer };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type TNotificationVariant = "error" | "info" | "success" | "warning";
|
|
2
|
+
/**
|
|
3
|
+
* Notification component props.
|
|
4
|
+
* @interface INotificationProps
|
|
5
|
+
* @property {string} description - The main content of the notification.
|
|
6
|
+
* @property {string} title - The title of the notification.
|
|
7
|
+
* @property {TNotificationVariant} variant - The notification custom variant.
|
|
8
|
+
* @property { Function } [onClose] - Optional callback function when the notification is closed.
|
|
9
|
+
*/
|
|
10
|
+
interface INotificationProps {
|
|
11
|
+
description: string;
|
|
12
|
+
title: string;
|
|
13
|
+
variant: TNotificationVariant;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export type { INotificationProps, TNotificationVariant };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { INotificationSignProps } from "./types";
|
|
2
|
+
interface IStyledNotificationSignProps {
|
|
3
|
+
$variant?: INotificationSignProps["variant"];
|
|
4
|
+
}
|
|
5
|
+
declare const NotificationSignButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, IStyledNotificationSignProps>> & string;
|
|
8
|
+
declare const NumberIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export { NotificationSignButton, NumberIndicator };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPositionModifiable } from "components/@core";
|
|
2
|
+
type TVariant = "error" | "warning";
|
|
3
|
+
/**
|
|
4
|
+
* Notification sign component props.
|
|
5
|
+
* @interface INotificationSignProps
|
|
6
|
+
* @extends IPositionModifiable
|
|
7
|
+
* @property {number} [numberIndicator] - The number of notifications.
|
|
8
|
+
* @property {boolean} [show] - The visibility of notification sign.
|
|
9
|
+
* @property {TVariant} [variant] - The notification custom variant.
|
|
10
|
+
*/
|
|
11
|
+
interface INotificationSignProps extends Pick<IPositionModifiable, "left" | "top"> {
|
|
12
|
+
numberIndicator?: number;
|
|
13
|
+
show?: boolean;
|
|
14
|
+
variant?: TVariant;
|
|
15
|
+
}
|
|
16
|
+
export type { INotificationSignProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { INumberInputProps } from "./types";
|
|
3
|
+
declare const NumberInput: React.ForwardRefExoticComponent<Readonly<INumberInputProps> & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export type { INumberInputProps };
|
|
5
|
+
export { NumberInput };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const StyledInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
3
|
+
export { StyledInputContainer, StyledInput };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Number input component props.
|
|
4
|
+
* @interface INumberInputProps
|
|
5
|
+
* @extends InputHTMLAttributes<HTMLInputElement>
|
|
6
|
+
* @property { boolean } [autoUpdate] - Whether the input value should be updated automatically.
|
|
7
|
+
* @property { number } [decimalPlaces] - Number of decimal places to display.
|
|
8
|
+
* @property { Function } [onEnter] - Function to be called when the enter key is pressed.
|
|
9
|
+
* @property { string } [tooltipMessage] - Tooltip message to display when hovering over the input.
|
|
10
|
+
*/
|
|
11
|
+
interface INumberInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
12
|
+
autoUpdate?: boolean;
|
|
13
|
+
decimalPlaces?: number;
|
|
14
|
+
onEnter: (value?: number) => void;
|
|
15
|
+
tooltipMessage?: string;
|
|
16
|
+
}
|
|
17
|
+
export type { INumberInputProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import { OptionContainer } from "./option-container";
|
|
3
|
+
import type { IOAuthSelectorProps } from "./types";
|
|
4
|
+
declare const OAuthSelector: ({ align, buttonLabel, children, id, manualOption, providers, }: Readonly<PropsWithChildren<IOAuthSelectorProps>>) => JSX.Element;
|
|
5
|
+
export { OAuthSelector, OptionContainer };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Property } from "csstype";
|
|
2
|
+
import type { MouseEventHandler } from "react";
|
|
3
|
+
import { IIconModifiable } from "components/@core";
|
|
4
|
+
type TOAuthProvider = "Azure" | "Bitbucket" | "GitHub" | "GitLab";
|
|
5
|
+
/**
|
|
6
|
+
* Shared props for OAuth selector.
|
|
7
|
+
* @interface ISharedProps
|
|
8
|
+
* @property {string} [label] - Label to display on the button.
|
|
9
|
+
* @property {Function} onClick - Function to be called when the button is clicked.
|
|
10
|
+
*/
|
|
11
|
+
interface ISharedProps {
|
|
12
|
+
label?: string;
|
|
13
|
+
onClick: MouseEventHandler<HTMLOrSVGElement>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Oauth selector component props.
|
|
17
|
+
* @interface IOAuthSelectorProps
|
|
18
|
+
* @property {string} [align] - Alignment of the button.
|
|
19
|
+
* @property {string} [buttonLabel] - Label to display on the button.
|
|
20
|
+
* @property {string} [id] - Id to be used on the button.
|
|
21
|
+
* @property {ISharedProps} [manualOption] - Object with the label and onClick function for the manual option.
|
|
22
|
+
* @property {Record} [providers] - Object with the providers and their onClick function.
|
|
23
|
+
*/
|
|
24
|
+
interface IOAuthSelectorProps {
|
|
25
|
+
align?: Property.AlignItems;
|
|
26
|
+
buttonLabel?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
manualOption?: ISharedProps;
|
|
29
|
+
providers: Partial<Record<TOAuthProvider, {
|
|
30
|
+
onClick: MouseEventHandler<HTMLOrSVGElement>;
|
|
31
|
+
}>>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Option container component props.
|
|
35
|
+
* @interface IOptionContainerProps
|
|
36
|
+
* @extends IIconModifiable
|
|
37
|
+
* @extends ISharedProps
|
|
38
|
+
* @property {boolean} [onlyLabel] - Whether to only display the label.
|
|
39
|
+
* @property {TOAuthProvider} [provider] - Provider to display.
|
|
40
|
+
*/
|
|
41
|
+
interface IOptionContainerProps extends Partial<Pick<IIconModifiable, "icon">>, ISharedProps {
|
|
42
|
+
onlyLabel?: boolean;
|
|
43
|
+
provider?: TOAuthProvider;
|
|
44
|
+
}
|
|
45
|
+
export type { IOAuthSelectorProps, IOptionContainerProps, TOAuthProvider };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const OverviewCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const FullCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export { OverviewCardContainer, FullCardContainer };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IconName } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
type TPlan = "advanced" | "essential";
|
|
3
|
+
type TVersion = "full" | "overview";
|
|
4
|
+
/**
|
|
5
|
+
* Plan component props.
|
|
6
|
+
* @interface IPlanProps
|
|
7
|
+
* @property { string } benefits - Benefits of the plan.
|
|
8
|
+
* @property { string } buttonText - Text for the plan's button.
|
|
9
|
+
* @property { string } description - Description of the plan.
|
|
10
|
+
* @property { string } [priceAuthor] - Plan's price per group.
|
|
11
|
+
* @property { string } [priceGroup] - Plan's price per author.
|
|
12
|
+
*/
|
|
13
|
+
interface IPlanProps {
|
|
14
|
+
benefits: string;
|
|
15
|
+
buttonText: string;
|
|
16
|
+
description: string;
|
|
17
|
+
priceAuthor?: string;
|
|
18
|
+
priceGroup?: string;
|
|
19
|
+
title: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Plan features component props.
|
|
23
|
+
* @interface IPlanFeaturesProps
|
|
24
|
+
* @property { string } description - Description of the plan feature.
|
|
25
|
+
* @property { IconName } icon - Icon for the plan feature.
|
|
26
|
+
* @property { string } title - Title of the plan feature.
|
|
27
|
+
*/
|
|
28
|
+
interface IPlanFeatureProps {
|
|
29
|
+
description: string;
|
|
30
|
+
icon: IconName;
|
|
31
|
+
title: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Plan card component props.
|
|
35
|
+
* @interface IPlanCardProps
|
|
36
|
+
* @property { string } [description] - Description of the plan.
|
|
37
|
+
* @property { Function } onClick - Function to call when button is clicked.
|
|
38
|
+
* @property { TPlan } plan - Type of plan (advanced or essential).
|
|
39
|
+
* @property { TVersion } [version] - Version of the card (full or overview).
|
|
40
|
+
*/
|
|
41
|
+
interface IPlanCardProps {
|
|
42
|
+
description?: string;
|
|
43
|
+
onClick: () => void;
|
|
44
|
+
plan: TPlan;
|
|
45
|
+
version?: TVersion;
|
|
46
|
+
}
|
|
47
|
+
export type { IPlanCardProps, IPlanFeatureProps, IPlanProps, TPlan };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IPlanFeatureProps, IPlanProps, TPlan } from "./types";
|
|
2
|
+
declare const plans: Record<TPlan, IPlanProps>;
|
|
3
|
+
declare const advancedPlanFeatures: IPlanFeatureProps[];
|
|
4
|
+
declare const essentialPlanFeatures: IPlanFeatureProps[];
|
|
5
|
+
export { advancedPlanFeatures, essentialPlanFeatures, plans };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { IPopUpProps } from "./types";
|
|
3
|
+
declare const PopUp: ({ _portal, cancelButton, darkBackground, children, confirmButton, container, description, highlightDescription, image, maxWidth, title, titleColor, }: Readonly<PropsWithChildren<IPopUpProps>>) => JSX.Element;
|
|
4
|
+
export { PopUp };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { TVariant } from "components/button/types";
|
|
2
|
+
/**
|
|
3
|
+
* Pop up button props.
|
|
4
|
+
* @interface IButtonProps
|
|
5
|
+
* @property { string } [key] - The name of the button.
|
|
6
|
+
* @property { Function } onClick - The function to call when the button is clicked
|
|
7
|
+
* @property { string } text - The text of the button.
|
|
8
|
+
* @property { TVariant } [variant] - The variant of the button.
|
|
9
|
+
*/
|
|
10
|
+
interface IButtonProps {
|
|
11
|
+
key?: string;
|
|
12
|
+
onClick: () => void;
|
|
13
|
+
text: string;
|
|
14
|
+
variant?: TVariant;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Pop up image props.
|
|
18
|
+
* @interface IImageProps
|
|
19
|
+
* @property { string } alt - The alt of the image.
|
|
20
|
+
* @property { string } src - The URL of the image.
|
|
21
|
+
* @property { string } [height] - The height of the image.
|
|
22
|
+
* @property { string } [width] - The weight of the image.
|
|
23
|
+
*/
|
|
24
|
+
interface IImageProps {
|
|
25
|
+
alt: string;
|
|
26
|
+
src: string;
|
|
27
|
+
height?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Pop up component props.
|
|
32
|
+
* @interface IPopUpProps
|
|
33
|
+
* @property { boolean } [_portal] - Whether the pop up should be rendered in a portal.
|
|
34
|
+
* @property { boolean } [darkBackground] - Whether the pop up should have a dark background.
|
|
35
|
+
* @property { IButtonProps } [cancelButton] - The cancel button of the pop up.
|
|
36
|
+
* @property { IButtonProps } [confirmButton] - The confirm button of the pop up.
|
|
37
|
+
* @property { HTMLElement | null } [container] - The container of the pop up.
|
|
38
|
+
* @property { IImageProps } image - The image of the pop up.
|
|
39
|
+
* @property { string } title - The title of the pop up.
|
|
40
|
+
* @property { string } [titleColor] - The color of the title.
|
|
41
|
+
* @property { string } description - The description of the pop up.
|
|
42
|
+
* @property { string[] | string } [highlightDescription] - The highlight description of the pop up.
|
|
43
|
+
* @property { string } [maxWidth] - The max width of the pop up.
|
|
44
|
+
*/
|
|
45
|
+
interface IPopUpProps {
|
|
46
|
+
_portal?: boolean;
|
|
47
|
+
darkBackground?: boolean;
|
|
48
|
+
cancelButton?: IButtonProps;
|
|
49
|
+
confirmButton?: IButtonProps;
|
|
50
|
+
container?: HTMLElement | null;
|
|
51
|
+
image: IImageProps;
|
|
52
|
+
title: string;
|
|
53
|
+
titleColor?: string;
|
|
54
|
+
description: string;
|
|
55
|
+
highlightDescription?: string[] | string;
|
|
56
|
+
maxWidth?: string;
|
|
57
|
+
}
|
|
58
|
+
export type { IPopUpProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export { IconsContainer };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IMarginModifiable } from "components/@core";
|
|
2
|
+
/**
|
|
3
|
+
* Premium feature component props.
|
|
4
|
+
* @interface IPremiumFeatureProps
|
|
5
|
+
* @property { string } [margin] - The margin for the premium feature.
|
|
6
|
+
* @property { Function } [onClick] - Event handler for the premium feature click.
|
|
7
|
+
* @property { string } [text] - Text for the premium feature.
|
|
8
|
+
*/
|
|
9
|
+
interface IPremiumFeatureProps {
|
|
10
|
+
margin?: IMarginModifiable["mr"];
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
text?: string;
|
|
13
|
+
}
|
|
14
|
+
export type { IPremiumFeatureProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const ProgressLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, {
|
|
4
|
+
$animationTime: number;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export { ProgressLine };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IDisplayModifiable } from "components/@core";
|
|
2
|
+
/**
|
|
3
|
+
* Progress bar component props
|
|
4
|
+
* @interface IProgressBarProps
|
|
5
|
+
* @property {number} [progressTime] - Time to complete.
|
|
6
|
+
* @property {Function} [onComplete] - Action when progress complete.
|
|
7
|
+
*/
|
|
8
|
+
interface IProgressBarProps extends IDisplayModifiable {
|
|
9
|
+
progressTime?: number;
|
|
10
|
+
onComplete?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export type { IProgressBarProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TOrientation, TProgressVariant } from "./types";
|
|
2
|
+
declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
$minWidth: number;
|
|
4
|
+
$orientation: TOrientation;
|
|
5
|
+
$rounded: boolean;
|
|
6
|
+
$variant: TProgressVariant;
|
|
7
|
+
}>> & string;
|
|
8
|
+
declare const StyledProgressBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
|
+
$percentage: number;
|
|
10
|
+
$rounded: boolean;
|
|
11
|
+
$variant: TProgressVariant;
|
|
12
|
+
}>> & string;
|
|
13
|
+
export { Bar, StyledProgressBar };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type TOrientation = "horizontal" | "vertical";
|
|
2
|
+
type TPercentageLocation = "left" | "right";
|
|
3
|
+
type TProgressVariant = "compliance" | "default" | "progressIndicator" | "progressIndicatorError" | "small";
|
|
4
|
+
/**
|
|
5
|
+
* Progress bar component props.
|
|
6
|
+
* @interface IProgressBarProps
|
|
7
|
+
* @property { number } [minWidth] - Minimum width of the progress bar.
|
|
8
|
+
* @property { number } percentage - Percentage of the progress bar.
|
|
9
|
+
* @property { TPercentageLocation } [percentageLocation] - Location of the percentage text.
|
|
10
|
+
* @property { boolean } [rounded] - Whether to round the progress bar corners.
|
|
11
|
+
* @property { boolean } [showPercentage] - Whether to show the percentage text.
|
|
12
|
+
* @property { TOrientation } [orientation] - Orientation of the progress bar.
|
|
13
|
+
* @property { TProgressVariant } [variant] - Progress bar variant.
|
|
14
|
+
*/
|
|
15
|
+
interface IProgressBarProps {
|
|
16
|
+
minWidth?: number;
|
|
17
|
+
percentage: number;
|
|
18
|
+
percentageLocation?: TPercentageLocation;
|
|
19
|
+
rounded?: boolean;
|
|
20
|
+
showPercentage?: boolean;
|
|
21
|
+
orientation?: TOrientation;
|
|
22
|
+
variant?: TProgressVariant;
|
|
23
|
+
}
|
|
24
|
+
export type { IProgressBarProps, TProgressVariant, TOrientation };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const LabelContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
2
|
+
declare const CheckMark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
4
|
+
}>, never>, never>> & string;
|
|
5
|
+
export { CheckMark, LabelContainer };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { HTMLAttributes, HTMLProps } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Radio button props.
|
|
4
|
+
* @interface IRadioButtonProps
|
|
5
|
+
* @extends HTMLAttributes<HTMLInputElement>
|
|
6
|
+
* @extends HTMLProps<HTMLInputElement>
|
|
7
|
+
* @property {string} name - Input name.
|
|
8
|
+
* @property {string} value - Radio button value.
|
|
9
|
+
*/
|
|
10
|
+
interface IRadioButtonProps extends HTMLAttributes<HTMLInputElement>, HTMLProps<HTMLInputElement> {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
export type { IRadioButtonProps };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const FloatButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}>, never>, never>> & string;
|
|
4
|
+
export { FloatButton };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scroll up button component props.
|
|
3
|
+
* @interface IScrollUpButtonProps
|
|
4
|
+
* @property { string } [scrollerId] - The ID of the scrollable element.
|
|
5
|
+
* @property { number } [visibleAt] - The pixel value at which the scroll up button should become visible.
|
|
6
|
+
*/
|
|
7
|
+
interface IScrollUpButtonProps {
|
|
8
|
+
scrollerId?: string;
|
|
9
|
+
visibleAt?: number;
|
|
10
|
+
}
|
|
11
|
+
export type { IScrollUpButtonProps };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
2
|
+
declare const OutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
declare const OutlineDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export { StyledInput, OutlineContainer, OutlineDropdown };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Search component props interface.
|
|
4
|
+
* @interface ISearchProps
|
|
5
|
+
* @property { boolean } [smallSearch] - Use smaller search bar size.
|
|
6
|
+
*/
|
|
7
|
+
interface ISearchProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
8
|
+
smallSearch?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type { ISearchProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const StyledItemSearching: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
2
|
+
declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}>, never>, never>> & string;
|
|
5
|
+
declare const StyledSearchBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
declare const StyledSearchBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
|
|
7
|
+
declare const StyledSearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
8
|
+
declare const StyledSearchReset: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
9
|
+
declare const StyledDropdownItems: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}>, never>, {
|
|
12
|
+
$empty?: boolean;
|
|
13
|
+
$showHits?: boolean;
|
|
14
|
+
}>> & string;
|
|
15
|
+
export { IconWrapper, StyledDropdownItems, StyledItemSearching, StyledSearchBar, StyledSearchBox, StyledSearchInput, StyledSearchReset, };
|